How main method is called in c#?



How main method is called in c#?..

Answer / Shrutkirti

"The main method in C# is the entry point of an application and is always static, void, and has a parameter array of type string[] (representing command line arguments). It is called by the runtime when the program starts."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Describe how a .net application is compiled and executed

1 Answers  


What is poco c#?

1 Answers  


What is datetime parse in c#?

1 Answers  


Define c# i/o classes?

1 Answers  


Is c# or c++ better for games?

1 Answers  


Can we override interface methods in c#?

1 Answers  


What is a trace and asset? Explain some differences?

1 Answers   Accenture,


6. If we assign a value in textbox on Page_UnLoad event, will it display?

2 Answers   Mphasis,


What?s the implicit name of the parameter that gets passed into the class? set method?

1 Answers  


What is a clr host?

1 Answers  


How can I process command-line arguments?

1 Answers  


how encapsulation is implemented in c#

1 Answers   Cognizant,


Categories