IsNullOrEmpty with Object
<p>IsNullOrEmpty is used with strings to check if a string is null or empty.
Is there an equivalent with an object to see if any object is null or not?
I assume we can do </p>

<pre><code>    obj1 != null 
</code></pre>

<p>but not sure if there is any other way...</p>
