Overloads
static void NotNull (T obj, string message)

Parameters

NameTypeDescription
obj T Object to test
message string Message to show when object is null

Exceptions

TypeWhen
System.Exception Thrown when the given object is null.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.