Reputation: 396
I'm getting the below error at the time I run the Windows application on my program. Can any one help?
Error: Program 'C:\Users\Owner\Documents\Visual Studio 2008\Projects\Project1\Integer Division\Integer Division\obj\Debug\Integer Division.exe' does not contain a static 'Main' method suitable for an entry point Integer Division
Upvotes: 0
Views: 4809
Reputation: 442
You need to have a:
static void Main()
{
}
If you want to "run" something a main is needed. That is basically the main function as the name implies where your program will run. You should look up any class example with a main() inside of it and put your code inside (the one for integral division ?).
Upvotes: 3
Reputation: 10968
Does not contain a static 'main' method suitable for an entry point
or
Troubleshooting "program does not contain a static 'Main' method" when it clearly does...?
But it's not related to Integer Division, for sure.
Upvotes: 0