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