Exemple #1
0
 static void SortWithGradeComparator(Student[] gradeArr)
 {
     SorterComparator <Student> .Sort(gradeArr,
                                      new StudentGradeComparator());
 }
Exemple #2
0
 static void SortWithAgeComparator(Student[] ageArr)
 {
     SorterComparator <Student> .Sort(ageArr,
                                      new StudentAgeComparator());
 }