When to use ? instead of null : <p>Can someone explain the difference between:</p>

<pre><code>if(object?.Count &gt; 0){
    //code   
}
</code></pre>

<p>and: </p>

<pre><code>if(object != null &amp;&amp; object.Count &gt; 0){
    //code   
}
</code></pre>

<p>Or are they doing the same thing? Thank you.</p>
