0
Newbie question to understand scripting c#
So how would this be written into a working script? When I type the script it says ..\Playground\(24,1): error CS1022: Type or namespace definition, or end-of-file expected int a = 8; int b = ++a; if(a > 5) b -= 3; else b = 9; Console.WriteLine(b);
1 Respuesta
+ 1
Look at which symbol is in first place in the line 24. I think there's a superfluous curly brace. And check for the method Main.