private static void Show_FromCar_Clear(object sender, MyQueueEventArgs <Car> e) { Console.WriteLine($"Event:{e.Message}"); }
private static void Show_Message(object sender, MyQueueEventArgs <int> e) { Console.WriteLine($"Event:{e.Message}, Item: {e.Item.ToString()}"); }
private static void Show_FromCar(object sender, MyQueueEventArgs <Car> e) { Console.WriteLine($"Event:{e.Message}, Name: {e.Item.Name}, Price: {e.Item.Price}"); }