mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-02-02 10:11:09 -05:00
11 lines
214 B
C#
11 lines
214 B
C#
using System;
|
|
using System.Collections;
|
|
|
|
namespace LibationWinForms
|
|
{
|
|
internal class ObjectComparer<T> : IComparer where T : IComparable
|
|
{
|
|
public int Compare(object x, object y) => ((T)x).CompareTo(y);
|
|
}
|
|
}
|