Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Skoczek : IComparable<Skoczek>
- {
- public int Wynik { get; set; }
- public int CompareTo(Skoczek other)
- {
- if (Wynik > other.Wynik) return -1;
- if (Wynik == other.Wynik) return 0;
- return 1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement