GeekInterview.com
Series: Subject: Topic:
Question: 3 of 38

partial class

where do you use partial class ? Explain with real time scenario of the usage ?
Asked by: Interview Candidate | Asked on: Oct 26th, 2011
Showing Answers 1 - 1 of 1 Answers
Sandhya.Kishan

Answered On : Mar 12th, 2012

View all answers by Sandhya.Kishan

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.

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.