Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
paritial class in asp.net
November 25, 2009
what is paritial class and wht is the use of it in asp.net
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.
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....
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,
To post reply
Related Questions Related Questions
what really differs an abstract class from interface and vice versa
when can i go for abstract class and when interface
What is Partial Class
Error in Web Setup Project while using Installer Class aError in Web Setup Project while using Installer Class and Custom Actions "Object reference not set to an instance of an object"nd Custom Actions "Object reference not set to an instance
what is the benefits of partial class
What is Singleton class?
What is the use of Partial class in .NET
ASP.NET Application - Architecture and Class Diagrams
How to create custom Generic class
Free Public Class: ASP .NET Interview Preparation
Latest Forum Questions From The Same Category
Slash(/) in Combobox
attaching the report in the web page
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend