コード例 #1
0
 public void setAuditory(Auditory auditory)
 {
     this.auditory = auditory;
 }
コード例 #2
0
 public Subject(string name, Auditory auditory)
 {
     this.name     = name;
     this.auditory = auditory;
 }
コード例 #3
0
 public Subject(string name, Auditory auditory, Group group)
 {
     this.name     = name;
     this.auditory = auditory;
     this.group    = group;
 }
コード例 #4
0
        private Group group;       // which group of students

        //constructors
        public Subject()
        {
            this.name = "";
            auditory  = new Auditory();
        }