How to switch between multiple Main() method in visual studio.


Many times a C# developer doesn't know how to handle the multiple Main() methods in the Visual Studio. Here are the steps to do it. 

  • Goto Solution Explorer right click on Project, It will show following box.
     



  • Now click the highlighted dropdown, it will show the class names having Main() method.
  •                                  
  • Select one startup point and save it. That's all done
  • Comments

    Popular posts from this blog

    Code First Approach with Entity Framework

    Getting Ready for Python Development on Ubuntu using VSCode

    Designing Model class with validation in ASP.NET MVC