public void DodajSamochód(Samochód s) ///<summary> /// Dodawanie samochodów do listy. /// </summary> { Samochody1.Add(s); LiczbaSamochodów++; }