what s a partial class pls?  
Author Message
R.Tutus





PostPosted: Visual C# Language, what s a partial class pls? Top

Thanks.


Visual C#18  
 
 
Paul Louth





PostPosted: Visual C# Language, what s a partial class pls? Top

A partial class allows you to implement different parts of a class over multiple files. They're mainly used for hiding visual-developer tool initialisation code. I personally think they're an abomination and refuse to use them in my code other than when Visual Studio insists.


 
 
csharprocks.com





PostPosted: Visual C# Language, what s a partial class pls? Top

As stated above a partial class allows you to implement different parts of a class over multiple files. Microsoft implemented them when asp.net code-behind was removed. One of the greatest benefits of partial classes is that it allows a clean separation of business logic and the user interface. Two developers can work on the same "class" at the same time and the compiler will combine the two into one implementation.

Craig Maslowski MCT



 
 
Figo Fei - MSFT





PostPosted: Visual C# Language, what s a partial class pls? Top

hi,

More about partial class: http://msdn2.microsoft.com/en-us/library/wa80x488(vs.80).aspx