title: What is a NullReferenceException, and how do I fix it?
body: <p>I have some code and when it executes, it throws a <code>NullReferenceException</code>, saying:</p>
  
  <blockquote>
    <p>Object reference not set to an instance of an object.</p>
  </blockquote>
  
  <p>What does this mean, and what can I do to fix this error?</p>