private static void PrintEventWithArgs(object sender, ComplexEventArgs args) { Console.WriteLine($"{args.Message} first = {args.First} second = {args.Second} is zero"); }
private static void PrintEvent(object sender, ComplexEventArgs args) { Console.WriteLine(args.Message); }