what does static void Main(string[] args) in C# mean????????
Answer Posted / elan
It is the code starting point and when a function specified with static it will be always available in App Domain (in application). Also no need to create any instance and Classname.Function / Method name will work. The usage of string args[] is read the command line argument.
| Is This Answer Correct ? | 23 Yes | 5 No |
Post New Answer View All Answers
What is thread life cycle in c#?
What is the size of a decimal?
Can properties be private in c#?
What is the main purpose of delegates in c#?
what is collections in .net? why we use?
How to Install uninstall assemblies into GAC?
How can I produce an assembly?
What is the use of static in c#?
How do I use the 'using' keyword with multiple objects?
Explain about Error handling and how this is done
What does it mean to override a method?
What is the difference between method parameters and method arguments. Give an example?
Explain how do you directly call a native function exported from a dll?
If I want to override a method one of class A and in class b then how do you declare?
Why abstract class can not be instantiated?