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

How you can stop the validation of ASP.NET controls from client side?

1088


What is redirecting behavior?

1021


What is state management in asp.net with example?

1006


What is a server cookie?

1054


What is the main function of url routing system in asp.net mvc? : asp.net mvc

1059


What are the difference between overriding and overloading?

1155


What is the parent class of all the web server control?

989


How long the items in ViewState exists?

1487


How can you dynamically add user controls to a page?

1011


What is the difference between user control and custom control?

995


What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?

1060


How do sessions work?

984


when a request is made in Life cycle of ASP.NET page .

1005


How to use multiple scriptmanager controls in a web page?

1151


What is the difference between Session and response.Redirect?

1173