Checking whether an Anonymous Type equals to a specified type or not
<pre><code>class test&lt;type&gt;
{
    public test()
    {

    }

    public bool byteTest()
    {
        return new byte().Equals(new type()); // Error at new type()
    }   
}
</code></pre>

<p>I want to check whether an anonymous type is a specified type. (like byte)</p>

<p>Why I want to do this something similar like this is I want to limit the anonymous type. Like I just want to declare the anonymous type as a byte or integer.</p>
