Is framework having predefined partial classes?

  • Thread starter Thread starter sameem
  • Start date Start date
S

sameem

Generally we can create parial classes in .net 2.0 version. As I understood
that framework 2.0 (class library) shoud have partial classes. If it is there
please list out some class names.

Otherwise As I mentioned that partial classes are only supported by the
framework2.0. thats it?
 
AFAIK, only classes that routinely need extending are set up intially as
partial. In general, these are classes generated for you, like DataSets (and
other data constructs), etc.

To extend classes in the framework that are not partial, you would use .NET
3.5 extension methods.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
 
Thanks for info.

my understanding also same. But I dought that .Net 2.0 may have predefined
partial class.

correct me If I wrong. So there is no predefined partial classes in
framework 2.0

Thanks a lot
 
Partial classes are a compile time feature that allows a class
definition to be spread across more than one file. It has no effect
on the compiled code, so it makes no sense to ask if there are
predefined partial classes.

I think maybe you misunderstand what partial classes are.
 
Back
Top