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 does namespace mean?
What is use of abstract class in c#?
What are custom attributes in c#?
Explain the serialization in .net
Explain what are three test cases you should go through in unit testing?
What is the advantage of constructor in c#?
What is the .NET collection class that allows an element to be accessed using a unique key?
How do I declare a pure virtual function in c#?
What is an array? Give the syntax for a single and multi-dimensional array?
What is the difference between namespace and class?
Define multicast delegate in c#?
What is the correct way of declaring an xml namespace?
What is the difference between properties and indexer in c#?
Explain the difference between abstract class and interface in .net?
How does dll hell solve in .net?