
Beginning with NUnit 2.5, generic equivalents are available
in .NET 2.0 NUnit packages.

<div class="code" style="width: 36em" ><pre class="prettyprint">

Assert.IsInstanceOf&lt;T&gt;( object actual );
Assert.IsInstanceOf&lt;T&gt;( object actual, string message );
Assert.IsInstanceOf&lt;T&gt;( object actual,
                string message, params object[] parms );

Assert.IsNotInstanceOf&lt;T&gt;( object actual );
Assert.IsNotInstanceOf&lt;T&gt;( object actual, string message );
Assert.IsNotInstanceOf&lt;T