• Advertisement
Sign in to follow this  

Entry point ?!?

This topic is 4929 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
It's working now, sorry for that.... Main is uppercase :-)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement