+ 2

Why error? Again.

namespace SoloLearn { class Program { static int Sum(int a, int b) { return a+b; } static void Main(string[] args) } int c = Sum(50, 20); Console.WriteLine(c); } } }

22nd Apr 2017, 11:08 AM
Wanzet 222
Wanzet 222 - avatar
2 Réponses
+ 2
you have wrong bracket see the code below https://code.sololearn.com/cb3olL0pZXHT/?ref=app
22nd Apr 2017, 11:22 AM
Highman
Highman - avatar
+ 1
Ok, thanks)
22nd Apr 2017, 11:27 AM
Wanzet 222
Wanzet 222 - avatar