IComparable.cs 211 B

123456789101112
  1. namespace XGame.Framework.Interfaces
  2. {
  3. public interface IComparable<in T>
  4. {
  5. int CompareTo(T other);
  6. }
  7. public interface IComparable
  8. {
  9. int CompareTo(object obj);
  10. }
  11. }