示例#1
0
 public Event(Sport sport)
 {
     Sport        = sport;
     Participants = new List <Participant>();
 }
示例#2
0
 public void ChangeSport(Sport sport)
 {
     Sport = sport;
 }
示例#3
0
 public Sportsman(string firstName, string lastName, DateTime birthDate, Country country, Sport sport)
 {
     FirstName = firstName;
     LastName  = lastName;
     BirthDate = birthDate;
     Country   = country;
     Sport     = sport;
 }