27 lines
681 B
C#
27 lines
681 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace TestLib
|
|||
|
{
|
|||
|
public class Sportsmen
|
|||
|
{
|
|||
|
public string name;
|
|||
|
public string sport;
|
|||
|
public string city;
|
|||
|
public string country;
|
|||
|
public string Region { get { return city; } set { city = value; } }
|
|||
|
public string awards;
|
|||
|
public Sportsmen(string name, string sport, string city, string country, string awards)
|
|||
|
{
|
|||
|
this.name = name;
|
|||
|
this.sport = sport;
|
|||
|
this.city = city;
|
|||
|
this.country = country;
|
|||
|
this.awards = awards;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|