Hello all,

I am wonder what .Net does internally when you have an object cast as an interface it inherits and what happens when you call the interface's method.

Example:
...
IDBCommand.ExecuteReader(...);
...

This will execute sql command with no issue against a IDBConnection, assuming everything else is setup correctly. Does anyone have any leads or good explainations on how this occurs?