.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

What is the use of Partial class in .NET

Posted By: priya     Posted Date: August 05, 2009    Points:2   Category :.NET Framework

What is the use of Partial class in .NET. Is it comes under oops concept..please explain this concept.


Author: Akhil Raj       [Moderator]      
Posted Date: August 05, 2009     Points: 5   

hi priya,
Pleeas look at the follwoing articles:




Author: Syed Shakeer Hussain             
Posted Date: August 06, 2009     Points: 5   

partial class is used ,if the develpoers wants the access and do changes (or)writting code at the same.so partial class is created

Author: Abhisek Panda             
Posted Date: December 15, 2009     Points: 5   
Author: Rahul             
Posted Date: January 06, 2010     Points: 5   


Consider the scenario when two or more developer wanted to write the code in the same class.and wanted to access same file because earlier one class can not be in two files.

To overcome this situation Partial class is introduced..where two or more developer can write the code in the same class but could be in different file.

Using Partial class logically it will considered one class but could be in multiple files.

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend