Add project files.
This commit is contained in:
25
Helsinki1952/Olimpia.cs
Normal file
25
Helsinki1952/Olimpia.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
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];
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user