title: Test if object implements interface
body: <p>What is the simplest way of testing if an object implements a given interface in C#? (Answer to this question 
  <a href="https://stackoverflow.com/questions/766106/test-if-object-implements-interface">in Java</a>)</p>