title: How to check a var for null value?
body: <p>I am using PetaPoco Micro-ORM with C# 4.0.</p>
  
  <p>The code below retrieves a single row from the database:</p>
  
  <pre><code>var result = db.SingleOrDefault&lt;TdUsers&gt;(getUserQuery);
  </code></pre>
  
  <p>I would like to check whether or not the result contains any rows, and whether is null. What is the best way to do this?</p>