Partial class

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tommaso Caldarola

    Partial class

    Can I use partial class on different assembly?

  • Jon Skeet [C# MVP]

    #2
    Re: Partial class

    Tommaso Caldarola wrote:[color=blue]
    > Can I use partial class on different assembly?[/color]

    No. A partial class is just a way of splitting one type over more than
    one source file. The result is a perfectly normal type, i.e. one of the
    parts of an assembly. The runtime doesn't need to know about partial
    classes.

    Jon

    Comment

    • Chris Fulstow

      #3
      Re: Partial class

      Nope, a partial classes can't span across different assemblies.
      HTH,
      Chris

      Comment

      Working...