What are the benefits of partial class?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Besides allowing separate physical files (.vb), what other benefits does it
have? My understanding is that partial classes are still compiled into one
assembly (.dll).
 
Peter,

All classes in one project are normally build in one assembly (dll or exe).

Partial classes make maintaining a class easier. Think by that especially
about generated parts of the classes, which are or can be set apart.

Cor
 
Thanks Cor. I will say that maintaining a class will be easier if a class
is separated into partial classes logically and correctly. :-)

Peter
 
Back
Top