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

Answer Posted / vaibhav durhaya

in C# Main function returns something as string. If u dont
want something return to function u have to use Void. And
Static Keyword shows that there should be something in the
function which is static, i.e. WriteLine() is a static
member method of the Console class.

Is This Answer Correct ?    42 Yes 49 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need properties in c#?

645


What is ulong in c#?

760


What is the purpose of ienumerable in c#?

669


List out the differences between array and arraylist in c#?

699


What is array and arraylist?

735


Is python easier than c#?

702


What is the difference between static class and abstract class in c#?

658


Explain hash table in c# ?

838


What is difference between static and readonly in c#?

633


What are the classes contained in a single .NET DLL ?

685


How is the syntax written to inherit from a class in C#?Give an example ?

774


Explain inheritance in c#?

714


Why is it efficient to use System.string under System.Text.StringBuilder ?

741


Could you explain the difference between func vs action vs predicate?

625


What is expandoobject in c#?

653