/// <summary> /// удалить оценку /// </summary> /// <param name="subject"></param> public static void DelMark(ISubject subject) { ShowMarks(subject); if (subject.Count == 0) { return; } int index = EnterData("Choice mark to delete(index): "); try { subject.DelMark(index - 1); } catch (MarkException exception) { WriteLine(exception.Message); } }