Exemple #1
0
 public Student() : base()
 {
     YearOfEntrance = 2019;
     EntrancePoints = 368;
     AverageMark    = 9.25;
     Oly            = Olimpiads.Physics;
     nxtOly.name    = "olimpiad";
     nxtOly.date1   = new DateTime(2020, 11, 8);
 }
Exemple #2
0
 public Student(string name, string country, int yearofbirth, string speciality, int entranceyear, int points, double avmark, Olimpiads oly = default, DateTime date = default)
     : base(name, country, yearofbirth, speciality)
 {
     YearOfEntrance = entranceyear;
     EntrancePoints = points;
     AverageMark    = avmark;
     Oly            = oly;
     nxtOly.name    = "olimpiad";
     nxtOly.date1   = date;
 }