Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Method Compartmentalization
Message
De
17/01/2006 12:32:06
 
 
À
17/01/2006 12:19:12
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
01087607
Message ID:
01087612
Vues:
7
Bill,

Not with namespaces, but if you group your code into regions (by the use of #region MyRegion/#endregion) you can at least group things visually. Is this good enough for your purposes?

~~Bonnie


>In C#, if you have a class that has a large number of methods in it, is it possible to compartmentalize the methods within the class into groups similar to the way we would use namespaces to group files, classes, etc. so that a path is followed to the method?
>
>Thanks,
>Bill
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform