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)

14th Jun 2017, 7:11 AM
Ubaidullah Anwar 🇵🇰
Ubaidullah Anwar 🇵🇰 - avatar
3 Respostas
+ 8
Just syntax error. Nothing special.
14th Jun 2017, 7:21 AM
Hatsy Rei
Hatsy Rei - avatar
+ 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.
14th Jun 2017, 7:16 AM
Tim
+ 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? :)
14th Jun 2017, 7:40 AM
Bogdan Sass
Bogdan Sass - avatar