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


Top 5 Contributors of the Month
david stephan

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
Hello,

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

Priya

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

hi priya,
Pleeas look at the follwoing articles:

 http://www.4guysfromrolla.com/articles/071509-1.aspx 


 http://www.dotnet-guide.com/partialclasses.html 


 http://www.devx.com/dotnet/Article/22603 


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

Hi
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   

Hi,

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
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

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