Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.NET frameworks revisited
Message
De
06/04/2007 14:08:52
 
 
À
06/04/2007 13:40:26
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01208568
Message ID:
01213033
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform