How to compare two types? Will I use T.stringof instead of this?

void main()
{
        if(One is Two) {} //Error: type One is not an expression
                          //Error: type Two is not an expression
}

class One {}
class Two {}

Regards,
MarisaLovesUsAll

Reply via email to