Пример #1
0
 private static void PrintEventWithArgs(object sender, ComplexEventArgs args)
 {
     Console.WriteLine($"{args.Message} first = {args.First} second = {args.Second} is zero");
 }
Пример #2
0
 private static void PrintEvent(object sender, ComplexEventArgs args)
 {
     Console.WriteLine(args.Message);
 }