Yes, we can have a two entry points in one application. But at a time we can run only one Main () Fun. By using properties of application we can set which main needs to run.
Steps to set the Main():
RightClick on project -> properties -> application -> startup object. (Set startup object as the required main fun).
This group is an initiative from "Vidya Vrat Agarwal" a .NET Passionate. This group is created with a vision to encourage and help people learn Microsoft .NET technology. This group also provides a platform to share ideas, thoughts and experiences an individual may have while learning and implementing .NET technologies.
1 comment:
Yes, we can have a two entry points in one application. But at a time we can run only one Main () Fun.
By using properties of application we can set which main needs to run.
Steps to set the Main():
RightClick on project -> properties -> application -> startup object. (Set startup object as the required main fun).
Post a Comment