Let\'s say you have two different C# classes A and B that while not deriving from the same base class do share some of the same names for methods.
A
B
If the interface solution is not possible (e.g you don't have source code), another less effecient solution is to use reflection.