Partial classes in separate dlls
问题 Is it possible to have two parts (same namespace, same class name) to a partial class in separate DLLs? 回答1: From MSDN -Partial Classes and Methods: All partial-type definitions meant to be parts of the same type must be defined in the same assembly and the same module (.exe or .dll file). Partial definitions cannot span multiple modules. 回答2: No. Partial classes are a purely language feature. When an assembly is compiled, the files are combined to create the type. It isn't possible to spread