Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8657361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:30:08+00:00 2026-06-12T15:30:08+00:00

The project I’m on has many partial classes (meaning the keyword ‘partial’ has been

  • 0

The project I’m on has many partial classes (meaning the keyword ‘partial’ has been used) but if they are actually partial to anything or not, I don’t know (I wish the compiler would look for the other partial(s) and if none are found throw an error but it’s the fact it doesn’t throw an error which leads me to my question).

Since I have no way of telling that when a partial class is created whether it has other ‘partials’ or not lead me to thinking would the partial(s) have to be within the same assembly? Would it be possible to create a partial class outside an assembly via WCF or a web service – I have no idea how it would work at runtime (I guess the compiler would be satisfied as it doesn’t appear to care to much) but I can’t find anything to explicity state yes or no. Similar questions explain that it shouldn’t be used this way, but not actually if it can or can’t.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T15:30:09+00:00Added an answer on June 12, 2026 at 3:30 pm

    would the partial(s) have to be within the same assembly?

    Yes, they would have to be. That’s part of the specification for partials – all parts must be in one assembly.

    Would it be possible to create a partial class outside an assembly via WCF or a web service

    No – that’s not possible.

    From §10.2 of the C# 4.0 language specification:

    All parts of a partial type must be compiled together such that the parts can be merged at compile-time into a single type declaration.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Project#1 has some interfaces and classes that project#2 references. Now I want to use
My project has no errors, I'm able to run it via F5, but I
The project currently has a UIviewController called Dashboard that acts as the main view
This project was coped almost exacatly from the example on the admob page but
My project have no visible error but when i try to run it gives
My project has the following scenario: [Preview View Controller] --(Modal)--> Navigation Controller --(Top)--> [Photo
Our project's template html has a quirks declaration,which is <!DOCTYPE HTML PUBLIC -//W3C//DTD HTML
Project Lombok makes it trivial to implement the boilerplate code in the classes. Is
.project files contain references to the project natures used in the project. These project
My project has two cpp files and one header file. One cpp file contains

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.