- 
                Notifications
    
You must be signed in to change notification settings  - Fork 35
 
M_CodeJam_Code_NotNull__1
        andrewvk edited this page Jul 1, 2016 
        ·
        8 revisions
      
    Ensures that arg != null
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)
C#
public static void NotNull<T>(
	Nullable<T> arg,
	string argName
)
where T : struct, new()VB
Public Shared Sub NotNull(Of T As {Structure, New}) ( 
	arg As Nullable(Of T),
	argName As String
)F#
static member NotNull : 
        arg : Nullable<'T> * 
        argName : string -> unit  when 'T : struct, new()
- arg
 - Type: System.Nullable(T)
The argument. - argName
 - Type: System.String
Name of the argument. 
- T
 - Type of the value. Auto-inferred in most cases