public int CompareTo([AllowNull] ReportsView other) { if (Grade == other.Grade) { if (Sno == other.Sno) { return(Ono.CompareTo(other.Ono)); } else { return(Sno.CompareTo(other.Sno)); } } else { return(Grade.CompareTo(other.Grade)); } }
public int CompareTo([AllowNull] CourseSummaryView other) { return(Ono.CompareTo(other.Ono)); }
public int CompareTo([AllowNull] OpenCoursesView other) { return(Ono.CompareTo(other.Ono)); }