0
which are valid#c variable name?
4 Respostas
+ 3
The answer is in the course.
Go to Basic concepts> Variables > first lesson
+ 2
No spaces.
No numbers.
You can not use already used names, example: if, for, string, class.
You may use _ , example: string _name = "Andre";
And remember that C# is case sensitive.
"string name" and "string Name" are two completly different names.
+ 2
Numbers can be used as long as the first character is not a number.
+ 1
variables which start from "letters" or " underscore (_) "