[Mono-list] typeof(string)

Gaurav Vaish gvaish@iitk.ac.in
Fri, 15 Mar 2002 22:17:00 +0530


----- Original Message ----- 
From: "Dan Lewis" <dihlewis@yahoo.co.uk>
To: "Gaurav Vaish" <gvaish@iitk.ac.in>; <mono-list@ximian.com>
Sent: Friday, March 15, 2002 22:03
Subject: Re: [Mono-list] typeof(string)


: Shouldn't it be:
: 
:   if (destinationType == typeof (string)) { ... }
: 
: typeof returns an object of class Type, which what you're checking equality
: against.

    Thanks Buddy. Lol.
    I guess, I ought to change my name now.


Cheers,
The Buggy Me!        <-- This looks better
http://home.iitk.ac.in/student/gvaish
http://calendar.yahoo.com/mastergaurav
---------------------------------


: 
: Dan.