Beispiel #1
0
 public void CreateChallenger(string name, string surname, string college, bool isFirst)
 {
     if (isFirst)
     {
         challengers[0] = new Challenger(name, surname, college);
         return;
     }
     challengers[1] = new Challenger(name, surname, college);
 }
 public void CreateChallenger(Challenger challenger, bool isFirst)
 {
     if (isFirst)
     {
         challengers[0] = challenger;
         return;
     }
     challengers[1] = challenger;
 }