Entry point ?!?

Started by
1 comment, last by Galo 19 years, 8 months ago
Hey guys, I just started programming in C#, but when i try to compile my program, the compiler tells me error CS5001: Program 'test.exe' does not have an entry point defined. I searched the manual and my books but i can't find anything usefull, what to do with this, and what's up with an entry point, what does it do ? This is the program code! using System; class test{ static void main(){ int eersteGetal = 3; int tweedeGetal = 2; int som = eersteGetal + tweedeGetal; Console.WriteLine("De som van {0} en {1} is : {3}", eersteGetal, tweedeGetal, som); } } Thanks, Galo
bla bla bla
Advertisement
C# is a case specific language. You must change

static void main()
to
static void Main()
www.aidanwalsh(.net)(.info)
It's working now, sorry for that.... Main is uppercase :-)
bla bla bla

This topic is closed to new replies.

Advertisement