-
Notifications
You must be signed in to change notification settings - Fork 36
M_CodeJam_Arithmetic_OperatorsFactory_Comparison__1
andrewvk edited this page Jul 1, 2016
·
5 revisions
Comparison factory method..
Namespace: CodeJam.Arithmetic
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.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 |