title: C#: How to perform a null-check on a dynamic object
body: <p>How do I perform a <strong>null-check</strong> on a dynamic object?</p>
  
  <p>Pseudo code:</p>
  
  <pre><code>public void Main() {
      dynamic dynamicObject = 33;
      if(true) { // Arbitrary logic
          dynamicObject = null;
      }
      Method(dynamicObject);
  }
  
  public void Method(dynamic param) {
      // TODO: check if the content of 'param' is equal to null
  }
  </code></pre>