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