In VB.NET, what is the MS standard for naming local variables, Camel or Pascal casing?
For example
Sub X()
Dim myVariable As Integer
End sub
or
Sub X()
Dim MyVariable As Integer
End Sub
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the guidelines (under Names of Fields):
The guidelines say nothing about private fields, though all examples seem to be using camel casing.
Nor do the guidelines say anything about local variables, though all examples also seem to be using camel casing.