Can overrride the Main method

Answer Posted / mukul

we can use multiple Main method within the same class and within the same namespace, but we can't override Main bcoz Main() is static.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can create an array with non-default values?

512


How do I calculate relative time?

503


What is the difference between abstract and virtual?

447


What’s a strong name?

525


Explain acid rule of thumb for transactions in c#.

524






Which controls do not have events?

560


Why do we need structs in c#?

450


What is instantiating a class in c#?

484


What is static noise?

507


What is distribute by in hive?

539


Int map to which .net types?

541


Can a constructor be static in c#?

523


What are the 2 broad classifications of fields in c#?

537


What is the difference between User controls and Custom Controls?

552


Is null == null c#?

477