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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only