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

Top 5 Contributors of the Month

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

paritial class in asp.net

Posted By: Nabin     Posted Date: November 25, 2009    Points:2   Category :ASP.Net
what is paritial class and wht is the use of it in asp.net

Author: Rahul             
Posted Date: November 25, 2009     Points: 5   


partial class, or partial type, is a feature of some object oriented computer programming languages in which the declaration of a class may be split across multiple source-code files, or multiple places within a single file.

It is useful when multiple developer want the same class to write the code and the class is in one file than its difficult to maintain event with versioning control tool. Here in this scenario Partial class is helpful.

Author: nishithraj             
Posted Date: November 26, 2009     Points: 5   

Through partial class we can split a class into two. That means a class splits physically into two but actually it's a same class. Compiler treats that as a single one. If you declare same method(or variable) name in two partial classes, compiler fails....

Author: Abhisek Panda             
Posted Date: November 30, 2009     Points: 5   

Partial class is a new functionality that is included in Visual Studio .Net 2005 and is supported in ASP.Net 2.0. This new functionality helps you to split a single class into multiple partial classes. These partial classes can be in different individual files.

Refer the following links,


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