+ 3
[DUPLICATE] { static void Main(string[] args) } or { static void Main() }!??!!
whay?
3 Answers
+ 12
if it is Java,
see the 2nd slide of the lesson:
syntax of main method
https://www.sololearn.com/learn/Java/2137/?ref=app
public static void main (String[] args)
+ 2
its not java its c# , and when kip "(string[] args) " in the codes the running make no output but when i deleted it the running work good and he make the output
+ 1
both are correct , it's void method that's way does not return any value .