static void MyMethod() { Console.WriteLine("I just got executed!"); }
Click Run to execute this code.