In C# using VS2005, if I have a variable of type Object, to which I assign a MyObjectType object by casting as follows:
MyObjectType myObj = GetMyObject();
Object obj = (Object)myObj;
Is there way to determine that obj is actually a MyObjectType and not just an Object?