is main required in C# code example Example: c# main method static void Main(string[] args) { //... }