0
why do you have to assign yourName to a string? Couldn't you just leave the string out?
3 Answers
+ 1
C# require every variable to have a data type specified.
0
Whats about the var keyword?
0
Even if generic, var too is a data type, you can use var too.