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