Exemple #1
0
 /// <summary>Gets the default comparer or throws an exception if non exists.</summary>
 /// <typeparam name="T">The generic type of the comparison.</typeparam>
 /// <param name="a">Left operand of the comparison.</param>
 /// <param name="b">Right operand of the comparison.</param>
 /// <returns>The result of the comparison.</returns>
 public static CompareResult Default <T>(T a, T b) =>
 DefaultImplementation <T> .Function(a, b);