<div>typeof returns the type of the object given to it:</div><div><br></div><div> SomeClass sc;</div><div> typeof(sc) // returns SomeClass</div><div><br></div><div> Object o = sc;</div><div> typeof(o) // returns Object</div>
<div><br></div><div>Is there a way or call to get the underlying type?:</div><div><br></div><div> typeof2(o) //returns SomeClass</div><div><div><br></div><div>I checked the online doc, but nothing in the Declarations section that I could see.</div>
<div><br></div><div>Thanks</div><div>John</div><div><br></div></div>