Selecting one entry point in case of more main method in C# Project
Hi.How to select one entry point if more than one main() exists in C# Project.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mamta MPosted Dec 20, 2011, 12:55 AM
While compiling at the command prompt, give csc /m with the name of the fully qualified Main method.
OR
In Visual Studio IDE, you can set the Startup project through the Project properties.