Define function
/* Learning C# by Jesse Liberty Publisher: O'Reilly ISBN: 0596003765 */ using System; public class Functions { static void Main() { Console.WriteLine("In Main! Calling SomeMethod()..."); SomeMethod(); Console.WriteLine("Back in Main()."); } static void SomeMethod() { Console.WriteLine("Greetings from SomeMethod!"); } }