Skip to content

Instantly share code, notes, and snippets.

@runewake2
Created August 18, 2015 15:26
Show Gist options
  • Save runewake2/b98947361a7f82eb6b6d to your computer and use it in GitHub Desktop.
Save runewake2/b98947361a7f82eb6b6d to your computer and use it in GitHub Desktop.
public static int Compare<TCompare>(TCompare first, TCompare second) where TCompare : IComparable
{
return first.CompareTo(second);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment