csharp main method mandatory? code example Example: c# main method static void Main(string[] args) { //... }