adspace
Why do I get a "cs5001: does not have an entry point defined" error when compiling?
Answer Posted / Anuj Kumar Srivastava
The "cs5001" error is usually due to the fact that your C# code doesn't contain a valid 'Main()' method. The 'Main()' method is the entry point for console applications, and it must be declared in the same file where you intend to run the program.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers