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

Why static constructor is parameterless in c#?

757


explain Garbage collector’s functionality on unmanaged code

694


Are c# strings null terminated?

704


What's c# ?

751


How do you implement thread synchronization (object.wait, notify,and criticalsection) in c#?

791






What is the difference between Singleton design pattern and Factory design pattern?

708


What is a decimal in c#?

691


Why do we use interfaces in c#?

681


What is difference between code access and role based security?

695


What is _layout cshtml?

632


Explain the working of serialization?

647


Explain dataadapter.update method in .net?

720


Do we get an error while executing the “finally” block in c#?

687


In c#, what will happen if you do not explicitly provide a constructor for a class?

709


What is the difference between icomparer and icomparable in c#?

635