Naming Convensions for Variables and Methods

In Microsoft .NET framework, Camel notation is used for variables, Pascal notation is used for methods. Hungarian Notations are no longer recommended.

Each word after  the first word in the name of both variables and methods should start with  the a capital letter. 

Example: 

Variable names following camal notation could be:

salary, isPaid, myMarks

Method names following pascal notation could be: 

GetTotal(), Start(), Run()


Using _ (underscore) in Identifers are not a best practice.
Ebook Download
View all
Learn
View all