Kosar2004/kosar2004/eredmeny.cs

31 lines
706 B
C#
Raw Normal View History

2023-09-18 10:08:57 +00:00
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace kosar2004
{
internal class Eredmeny
{
public string hazai;
public string idegen;
public int hazai_pont;
public int idegen_pont;
public string helyszin;
public string idopont;
public Eredmeny(string sor)
{
string[] tmp = sor.Split(';');
hazai = tmp[0];
idegen = tmp[1];
hazai_pont = Convert.ToInt32(tmp[2]) ;
idegen_pont = Convert.ToInt32(tmp[3]);
helyszin = tmp[4];
idopont = tmp[5];
}
}
}