szimulacio/SzimulacioOOP/Sofor.cs
Nándor Árgyelán f160a58466 ad
2024-10-01 13:00:31 +02:00

21 lines
395 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SzimulacioOOP
{
internal class Sofor : Szemely
{
public double Tarca { get; set; }
public Sofor(string Nev) : base(Nev)
{
Random rd = new Random();
Tarca = rd.NextDouble() * 22000 + 2000;
}
}
}