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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top