Пример #1
0
 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));
 }
Пример #3
0
 public int CompareTo([AllowNull] OpenCoursesView other)
 {
     return(Ono.CompareTo(other.Ono));
 }