Jack Jackson
10/30/2008 6:12:00 PM
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.
On Thu, 30 Oct 2008 05:40:01 -0700, sameem
<sameem@discussions.microsoft.com> wrote:
>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
>
>"Patrice" wrote:
>
>> Yes this is new in 2.0.
>>
>> This is a compile time thing so there is no partial classes in the .NET
>> Framework itself (basically it allows to split a *single* class into several
>> files).
>>
>> You may want to elaborate a bit (the designer uses partial classes to split
>> designer generated code and developer code).
>>
>> --
>> Patrice
>>
>> "sameem" <sameem@discussions.microsoft.com> a écrit dans le message de
>> groupe de discussion : 0D3764D6-73B4-4F77-843D-E0EB3FF44CCB@microsoft.com...
>> > 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?
>>
>>
>>