c# check for exact type
<p>I want to check the type of an object. I only want to return true if the type is exact the same. Inherited classes should return false.</p>

<p>eg:</p>

<pre><code>class A {}
class B : A {}

B b = new B();

if(b is A) // this should return false
</code></pre>
