Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.NET frameworks revisited
Message
From
06/04/2007 14:08:52
 
 
To
06/04/2007 13:40:26
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01208568
Message ID:
01213033
Views:
18
Whilst on my exercise machine, I suddenly thought about my example partial class code. I just want to make it absolutely clear that the name of the partial class code files have no bearing on the type, number or names of the contained members.

It could be construed from my sample code that a partial class code file called CharlesHankey.Compression.cs contains a single member called Compression. This is not the case; CharlesHankey.Compression.cs merely serves to differentiate the code file from CharlesHankey.Backup.cs - as long as you maintain the "partial class CharlesHankey" construct within the codefiles, the compiler couldn't care less what members you put in each code file/partial class definition. The only requirement is that the members are unique, overloaded methods notwithstanding.

I hope this clarifies any potential confusion caused. If not, feel free to come back to me on this.

-=Gary


>>>I'll go for two rounds and throw in some crisps.
>>
>>The last of the big spenders :)
>>
>
>Alright, I admit Wiltshire ( Malmesbury ) only represents half the ancestral homeland. The rest is up somewhere between Aberdeen and Inverness < g >
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform