How to name the main class in c# code example Example: c# main method static void Main(string[] args) { //... }