Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Namespace name convention
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01210834
Message ID:
01210839
Vues:
14
>It is a good practice to use the MyCompany.MyApplication.Business.MyBusinessClass. approach for your namespaces, but use an abreviation for your company name (because you will be typing it a lot <s>). I use "ALS" for my apps at work so that when I type "ALS." intellisense takes over.
>
>You can change each class you create manually but that would be a pain in the a$$. so the wonderful people at M$ added a way to set a default namespace for an assembly in VS. Just righ-click your assembly in the solution explorer and select properties. Then change the Default Namespace to DL.MyApp....whatever
>
>HTH,
>Einar

When you are saying click on he assembly, what is it? I can click on the Solution name and get properties but that does not have a default Namespace. When I right mouse click on a project and select properties, I can see default NameSpace. Is that what you mean by assembly?

Thank you for your help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform