Why is C# Main Method static ? – One of the most frequently asked question if you are a beginner to C# isn’t it ?
The Main Share method in the Program.cs looks like this
using System; using System.Collections.Generic; using System.Linq; namespace ConsoleApplication1 { class Program cheap NFL jerseys { ??????????????????????????????3P????? WHEELHOUSE static void Americans Main(string[] args) wholesale jerseys { Console.WriteLine("Hello World"); ??????? } } }
The Main method is the entry point for a C# Application . When the C# Program Main() is launched , it can be called without creating instance of any object .
By making the Main Method static, only one copy of the method will wholesale mlb jerseys be shared for the complete program.
Leave a Reply