Quiz on NullReferenceException
Evaluate yourself on what you have learned about the NullReferenceException.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
(Select all that apply.) When is a NullReferenceException
thrown?
A.
When assigning a variable to null
B.
When calling a method on an uninitialized object reference
C.
When accessing a property or field of an uninitialized object reference
D.
When passing null
as a parameter to a method that uses that parameter
1 / 5