What is the simplest way of testing if an object implements a given interface in C#? (Answer to this question in Java)
if (object is IBlah)
or
IBlah myTest = originalObject as IBlah if (myTest != null)