Partial class:
Partial class itself defines the same class file name into divided multiple parts with same singature.
When complier will complie the class file ,it makes into single file. Advantage ------ 1- Multiple Developer can work on same file 2-Type Safty 3-More Productvity Example ------- Public partial class HRModule { public void DoWork() {} } Public partial class HRModule { public void GoToLunch() { } } |
No comments:
Post a Comment