0

which are valid#c variable name?

10th Aug 2016, 6:56 AM
Gautam Raja
Gautam Raja - avatar
4 Respostas
+ 3
The answer is in the course. Go to Basic concepts> Variables > first lesson
10th Aug 2016, 7:22 AM
Alireza M
Alireza M - avatar
+ 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.
10th Aug 2016, 7:18 AM
Andreas BeEm Kvist
Andreas BeEm Kvist - avatar
+ 2
Numbers can be used as long as the first character is not a number.
10th Aug 2016, 8:29 AM
Samuel Neo
Samuel Neo - avatar
+ 1
variables which start from "letters" or " underscore (_) "
12th Aug 2016, 2:32 AM
Yakin Patel
Yakin Patel - avatar