コード例 #1
0
 public Student(string nameValue, int ageValue, string countryValue, CourseNum courseValue)
 {
     name    = nameValue;
     age     = ageValue;
     country = countryValue;
     ID      = generateID();
     course  = (int)courseValue;
 }
コード例 #2
0
ファイル: Spec.cs プロジェクト: pznkv/ISP-LABS
 public Spec(string nameValue, int ageValue, string countryValue, CourseNum courseValue, string specValue, string subjectValue)
 {
     name                = nameValue;
     age                 = ageValue;
     country             = countryValue;
     ID                  = generateID();
     course              = (int)courseValue;
     specStruct.specName = specValue;
     specStruct.mainSub  = subjectValue;
 }