Testing the 'type' of an Object???
From: Darryn Ross (darryn_at_datawave.com.au)
Date: 02/06/04
- Next message: Jeff Louie: "Re: New vs override - I need a drink!"
- Previous message: Sherif ElMetainy: "Re: Factory and Garbage Collection"
- Next in thread: Joe Mayo [C# MVP]: "Re: Testing the 'type' of an Object???"
- Reply: Joe Mayo [C# MVP]: "Re: Testing the 'type' of an Object???"
- Reply: Vladimir Scherbina: "Re: Testing the 'type' of an Object???"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 6 Feb 2004 14:13:51 +1000
Hi...
I am not sure how to test the type of an object that i define
object a = "test" ;
object b = 1 ;
object c = true ;
how do i test each of the three objects to find out what types they are.. e.g string, int, bool???
Regards
- Next message: Jeff Louie: "Re: New vs override - I need a drink!"
- Previous message: Sherif ElMetainy: "Re: Factory and Garbage Collection"
- Next in thread: Joe Mayo [C# MVP]: "Re: Testing the 'type' of an Object???"
- Reply: Joe Mayo [C# MVP]: "Re: Testing the 'type' of an Object???"
- Reply: Vladimir Scherbina: "Re: Testing the 'type' of an Object???"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|