-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Arithmetic_OperatorsFactory_Comparison__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Comparison factory method..
Namespace: CodeJam.Arithmetic
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static Func<T, T, int> Comparison<T>()
VB
Public Shared Function Comparison(Of T) As Func(Of T, T, Integer)
F#
static member Comparison : unit -> Func<'T, 'T, int>
- T
- The type of the operands
Type: Func(T, T, Int32)
Callback for the comparison
Exception | Condition |
---|---|
NotSupportedException | Type does not implement IComparable nor IComparable{T} interface |