Microsoft recommends following naming conventions
Variables : use came case e.g. someName
Method: use Pascal case e.g. SomeMethod. Also name the method by the action they perform e.g. WriteLine. Microsoft does not recommends Hungarian notation e.g. iSomeInteger or underscore e.g. Some_Integer.
Coding standard:
Variables : use came case e.g. someName
Method: use Pascal case e.g. SomeMethod. Also name the method by the action they perform e.g. WriteLine. Microsoft does not recommends Hungarian notation e.g. iSomeInteger or underscore e.g. Some_Integer.
Coding standard:
- Always use this to refer to the members of current class.
- Never make a member field as public. Always create properties or methods to allow access to member fields.
Comments