C# (Sharp) Programming Language Question:
Download Job Interview Questions and Answers PDF
Why do I get a "CS5001: does not have an entry point defined" error when compiling?
Answer:
The most common problem is that you used a lowercase 'm' when defining the Main method. The correct way to implement the entry point is as follows:
class test
{
static void Main(string[] args) {}
}
class test
{
static void Main(string[] args) {}
}
Download C# (Sharp) Programming Language Interview Questions And Answers
PDF