I have a question about the startup code in C#.Net 2008. I have not looked at C#.net code in several years and now I have a c#.sln project that I need to work with.
I am trying to find where the code actually starts. I found the startup project folder.
These project contains lots of C# modules. Can you tell me how I can tell where the code actually starts in the startup project? Would I look for a main.cs file?
Should I just step through the code to see where the application actually starts? If so, what should I do to make certain this code will not actually run the production application?
C#.net 2008 startup
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

ajay rajuRank #4,639 · 333 reputationPosted May 26, 2010, 10:05 PM EDT
goto progrm.cs file which is available in solution explorer, open this program.cs file, in that file
Application.Run(new form1());
in place of form1() you write which page you want to startup page. like form2() or form3()
if it helps then check mark as accept answer
Thanks.
PJ MartinsRank #2,548 · 548 reputationPosted May 26, 2010, 1:28 PM EDT