Reputation: 101
i have three classes each having Main fuction inside a single application.i have to set any class as per my requirement as strtup object in c#.it is not providing all three classes as startup object.is there any way to do this?
Upvotes: 0
Views: 3794
Reputation: 14525
Yes, provided your Main()
method has the correct signature, you can specify the class as a compiler option:
/main:class
see this link for full instructions:
https://msdn.microsoft.com/en-us/library/x3eht538.aspx
Upvotes: 1