szimulacio/SzimulacioOOP/Auto.cs
2024-09-24 13:00:05 +02:00

24 lines
559 B
C#

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;
}
}
}