Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what are partial classes and their use?

Answer Posted / arunajyothi.m

“partial” keyword can be used to split a single class,
interface, or struct into multiple, separate files in
ASP.NET (using C# as the language). This permits multiple
developers to works on these files, which can later be
treated as a single unit by the compiler at the time of
compilation and compiled into MSIL code.

1.Partial classes can improve code readability and
maintainability by providing a powerful way to extend the
behavior of a class and attach functionality to it.

2.The partial modifier can only appear immediately before
the keywords class, struct, or interface.

3.Nested partial types are allowed in partial-type
definitions.

4.Using partial classes helps to split your class
definition into multiple physical files.

5.Note that the partial keyword applies to classes,
structs, and interfaces, but not enums

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differences between “dataset” and “datareader”.

991


How does asp.net page work?

904


Do you know caching feature?

911


What is page fragment caching?

908


What is the significance of attaching a profile while creating a user?

975


What are the contents of cookie?

1064


Can the validation occurs in server-side or client-side? If the validation occurs why should we do?

1001


Is LINQ performance wise better or using sqlcommand?

5014


What is difference in .net 1.1 and .net 2.0?

1008


Which method is used to force all the validation controls to run?

985


Give an example of cookie abuse.

1027


For which does this Codebehind="MyCode.aspx.cs" is relevent to ?

1026


What is __ requestverificationtoken?

942


code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications

1804


What is meant by web application?

913