need a good Example for Prtial Class in C#
Give me a brief/exact def. of partial class..and very urgently need a short but good example/implement of that(in C#)..
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Dec 23, 2009, 3:20 AM
If you don't understand that, then don't include that in your answer to your instructor. You should also ensure you understand any code you turn in as your code.
Nilanka DharmadasaPosted Dec 23, 2009, 12:37 AM
Yes there are good exmples in this site itself.
Let's say you have a class called Employee and you should write a lot of code inside this class.
Employee's salary related code, work related code, and personal details.
So we can divide this into three partial classes.
Now check my exmple.
If you find my answer useful, please do not forget to tick 'Do you like this answer' checkbox.
Mahesh ChandPosted Dec 22, 2009, 6:59 PM