29 lines
564 B
C#
29 lines
564 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Balkezesek
|
|
{
|
|
class Dobo
|
|
{
|
|
public string nev;
|
|
public string elso;
|
|
public string utolso;
|
|
public int suly;
|
|
public int magassag;
|
|
|
|
public Dobo(string sor)
|
|
{
|
|
string[] t = sor.Split(';');
|
|
nev = t[0];
|
|
elso = t[1];
|
|
utolso = t[2];
|
|
suly = int.Parse(t[3]);
|
|
magassag = Convert.ToInt32(t[4]);
|
|
}
|
|
|
|
}
|
|
}
|