Is framework having predefined partial classes?

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?
 
C

Cowboy \(Gregory A. Beamer\)

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! |
********************************************
 
S

sameem

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
 
J

Jack Jackson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top