コード例 #1
0
ファイル: Students.cs プロジェクト: danyryabb/cs_labs
 public Student() : base()
 {
     YearOfEntrance = 2019;
     EntrancePoints = 368;
     AverageMark    = 9.25;
     Oly            = Olimpiads.Physics;
     nxtOly.name    = "olimpiad";
     nxtOly.date1   = new DateTime(2020, 11, 8);
 }
コード例 #2
0
ファイル: Students.cs プロジェクト: danyryabb/cs_labs
 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;
 }