I am trying to verify whether a variable that is passed can be converted to a specific type. I have tried the following but can\'t get it to compile so I assume I\'m going
Try this
return myType.IsInstanceOfType(myObject);