I thought MS did not recommend using the underscore prefix for fields.
Do you have a reference to this recommendation?
They certainly don't use if here :http://msdn.microsoft.com/en-us/library/ms173118.aspx
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement