25 lines
556 B
C#
25 lines
556 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Helsinki1952
|
|
{
|
|
internal class Olimpia
|
|
{
|
|
public int helyezes;
|
|
public int olimpikonok;
|
|
public string sport;
|
|
public string versenyszam;
|
|
|
|
public Olimpia(string adatsor)
|
|
{
|
|
string[] t = adatsor.Split(' ');
|
|
helyezes = int.Parse(t[0]);
|
|
olimpikonok = int.Parse(t[1]);
|
|
sport = t[2];
|
|
versenyszam = t[3];
|
|
}
|
|
}
|
|
} |