I need to check the type of a mock object and want to get the underlying type. For instance, for an object such as Mock is there anything on here I can call to get the type, "Foo"? I am using moq.
Mock<Foo> myFoo = new Mock<Foo>
myFoo.Object.?
myFoo.?