public Student() { FirstName = " "; LastName = " "; CourseNames.Add(" "); CourseGrades.Add(" "); }
private void getCoursesNames() { try { Courses = _directoryPath.GetDirectories().ToArray(); CourseNames.Clear(); DateNames.Clear(); GraduateNames.Clear(); foreach (var course in Courses) { if (course != null) { CourseNames.Add(course.Name); } } _selectedDateIndex = -1; getDateNames(); } catch { } }