static void Main(string[] args) { Teacher firstTeacher = new Teacher("Gosho"); Discipline math = new Discipline("Math", 10, 15); firstTeacher.Skill.Add(math); firstTeacher.Teach(); }
static void Main(string[] args) { Teacher firstTeacher = new Teacher("Gosho"); Discipline math = new Discipline("Math", 10, 15); firstTeacher.Skill.Add(math); firstTeacher.Teach(); }