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