Partial class

Where do you use partial class ? Explain with real time scenario of the usage ?

Showing Answers 1 - 3 of 3 Answers

Splitting the class into multiple files is called as partial class.The compiler treated the files as different classes but during compilation these files will be treated as a single class.

Example:If we are working with windows if designer.cs is using a class like webform1, we can use this
class in other cs file also.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions