public void UsuńSamochód(Samochód s) ///<summary> /// Usuwanie samochodów z listy. /// </summary> { Samochody1.Remove(s); LiczbaSamochodów--; }