using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SzimulacioOOP { internal class Auto { public String Nev { get; set; } public Sofor Vezeto { get; set; } public double Fogyasztas { get; set; } public double Uzemanyag { get; set; } public double TankMeret { get; private set; } public int Ut { get; set; } public Auto(String Nev) { this.Nev = Nev; TankMeret = 50; } } }