Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Errrhhh ..... CSharp or VB
Message
De
28/09/2011 13:18:37
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
28/09/2011 11:50:06
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01524423
Message ID:
01525074
Vues:
44
Interesting, I didn't notice that. It only applies to private Constants but still. I use a slightly modified version of this full document.

>I see that one recommends _c for constants. Never seen that one before...
>Doesn't matter for me tho since I avoid constants like the plague :-}
>
>>Here is an extension to that from Lance Hunts document of Coding Standards for C#. This mostly follows the iDesign document also. Attached image is the sheet sheet.
>>
>>>Thank you. That is the sort of convention I was looking for.
>>>
>>>>If you follow standard .NET naming conventions, it isn't an issue at all.
>>>>
>>>>If a variable: customerName
>>>>If a class: CustomerName
>>>>If a field: _customerName
>>>>
>>>>
>>>>>
>>>>>I was talking about remembering whether a variable is customername, Customername or CustomerName. Craig indicates the IDE helps you.
>>>>>
>>>>>Alex
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform