Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- namespace StudentsInfo
- {
- class ReversedComparer:Comparer<string>
- {
- public override int Compare(string x, string y)
- {
- return y.CompareTo(x);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement