0
Use of semicolon in method Parameters list
what if i use semicolon in the place of comma in the list of Parameters? like void make(int num ; string name)
3 ответов
+ 8
Just syntax error. Nothing special.
+ 3
I believe that'd be a syntax error in C#, the only time you'll use a semicolon like that would be inside of for loops.
+ 1
You do know that it would have taken you a lot less time to actually input this code into the playground and see what happens, right? :)