Exception caused by attempting to dereference a variable that is null. This can be created by the engine when it is trying to dereference a null variable or intermediate value, but a user may also create this exception pre-emptively as part of the argument check.
Parent Class
Type | Name | Signature |
---|---|---|
constructor | NullReferenceException | public NullReferenceException() |
public NullReferenceException()
Create a standard NullReferenceException instance. The message for this exception is fixed.