Beispiel #1
0
        public Group(FacultyType faculty, SpecialityTitle speciality, int year)
        {
            this.faculty = faculty;
            this.speciality = speciality;
            this.year = year;

            foreach (var ec in existingGroupsCount.Keys)
            {
                if (Title != ec)
                    count = 1;
                else
                    count++;
            }
            existingGroupsCount.Add(Title, count);
        }
Beispiel #2
0
        public Group(FacultyType faculty, SpecialityTitle speciality, int year)
        {
            this.faculty    = faculty;
            this.speciality = speciality;
            this.year       = year;

            foreach (var ec in existingGroupsCount.Keys)
            {
                if (Title != ec)
                {
                    count = 1;
                }
                else
                {
                    count++;
                }
            }
            existingGroupsCount.Add(Title, count);
        }