I'm in a class....

and I'm accepting an argument that is an object which is to be processed. However if it's anything other than the type of object I'm expecting (another class) obviously I'm not going to be able to pull the data off of it that i need to process.

You can't do this...
if object1=typename then

Because it says that the type is a type in System.Types and can't be used in an expresion.

So, my question is, how do you compare objects?


Eiredrake