+ 1

Did i make a mistake or not about this variable

c# int myage="18;"

10th Nov 2017, 2:30 AM
unknow unknow
3 Answers
+ 5
Yes. int myage=18; is better int myage="string and no ; outside" returns an error
10th Nov 2017, 2:33 AM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
+ 2
Yes
10th Nov 2017, 2:36 AM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
+ 1
so i dont need to put a cotation right?
10th Nov 2017, 2:34 AM
unknow unknow