//This is the actual method that will be assigned to the event handler //within the above class. This is where we perform an action once the //event has been triggered. static void MaximumReached(object source, MyEventArgs e) { Console.WriteLine(e.GetInfo()); }