public void RemoveSchoolClasses(SchoolClass schoolClass)
 {
     ESchoolDiaryData.SchoolClasses.Remove(schoolClass);
 }
 public void AddSchoolClasses(SchoolClass schoolClass)
 {
     ESchoolDiaryData.SchoolClasses.Add(schoolClass);
 }
        private static void LoadSchoolClasses()
        {
            string filePath = @"../../Data/school_classes.txt";

            StreamReader reader = new StreamReader(filePath);
            using (reader)
            {
                string currentLine = reader.ReadLine();

                while (currentLine != null)
                {
                    string[] currentLineArray = currentLine.Split(' ');

                    SchoolClass currClass = new SchoolClass(int.Parse(currentLineArray[0]), char.Parse(currentLineArray[1]));

                    ESchoolDiaryData.SchoolClasses.Add(currClass);

                    currentLine = reader.ReadLine();
                }
            }
        }