//----------------------------------------------------------------- private bool IsValid(Car car) { return(car.GetType() == typeof(Car)); }
//----------------------------------------------------------------- private bool IsValid(Car car) { return(car.GetType() == typeof(Car)); }