- 
                Notifications
    
You must be signed in to change notification settings  - Fork 35
 
M_CodeJam_Code_NotNull__1_1
        Andrew Koryavchenko edited this page Jun 17, 2018 
        ·
        8 revisions
      
    Ensures that arg != null
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static void NotNull<T>(
	T arg,
	string argName
)
where T : classVB
Public Shared Sub NotNull(Of T As Class) ( 
	arg As T,
	argName As String
)F#
static member NotNull : 
        arg : 'T * 
        argName : string -> unit  when 'T : not struct
- arg
 - Type: T
The argument. - argName
 - Type: System.String
Name of the argument. 
- T
 - Type of the value. Auto-inferred in most cases