Data Browser - Viewing Site  Sector 23 Code Bank Logged in as:  Guest  




           


Best Practices - C# .NET Naming Conventions
Best Practices - C# .NET Naming Conventions for upper/lower case:

_testVar - this is a private or protected property within an object (such as _carColor)
testVar - this is a variable passed in to a method as a parameter (such as carColor)
TestVar - this is a publicly exposed variable with a Get and/or Set (such as CarColor)
TEST_VAR - this is a constant, read only, or local variable that should not change (such as CAR_COLOR)
TestMethod - this is any method (such as GetCarColor)
TestClass - this is any class or namespace (such as CarColor)

testvar - this should never be used (such as carcolor)
Testvar - this should never be used (such as Carcolor)
test_var - this should never be used (such as car_color), except maybe as a field name for a mySql database or for a file name/other non-.NET system that hates whitespace and upper case characters.

Created By: amos 3/23/2015 4:36:18 PM
Updated: 3/23/2015 4:39:04 PM