what does static void Main(string[] args) in C# mean????????

Answer Posted / cc

WriteLine is a procedure/ method in the class called Console.

It doesn't have any relation with Static keyword.


Void is called "nothing" or no more return type required by the function.

Static is a keyword used by Main method because to avoid manipulation of Main Function.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the three types of predicates?

624


What types of object can I throw as exceptions?

723


What is constructor overloading in c#?

686


What is list array in c#?

635


What do you understand by 'access specifiers' in C#?

679


What is the difference between CreateObject() and GetObject()?

735


Which are access modifiers available in c#?

716


Why is main static in c#?

699


What are PE(Portable Executable)?

715


How do you comment in c#?

689


What is an assembly qualified name

769


Can we make a Static Constructor Parameterized? Give Reason with your answer

756


What is strongly typed view?

675


What is method and function in c#?

702


How many types of delegates are there in c#?

646