Language C# error on "Main" statement

  • Thread starter Thread starter johninis
  • Start date Start date
J

johninis

Guest
I copied the 1st sample of code to compile the sample program & I get an error on the "Main" statement which I don't understand. Program name is "app". Error reads:

Error 1 Program 'C:\Users\johni_000\Documents\Visual Studio 2008\Projects\app\app\obj\Debug\app.exe' does not contain a static 'Main' method suitable for an entry point app


My statement is:

public static void Main()

I don't understand error or how to fix it.

Can anyone help?

Continue reading...
 
Back
Top