title: Access many objects with same method within a foreach statement
body: <p>I have many objects of different type all with the same method <code>.getStatus</code>. I would like to access all the objects' method inside a foreach statement. Example:</p>
  
  <pre><code>String[] names = new String[] {"a", "b", "c"};
  foreach (string name in names) {
     dynamic obj = name.getStatus(); //instead of a.getStatus();
     //Do
     //some
     //stuff
     //here
  }
  </code></pre>
  
  <p>Unfortunately the name parameter which is a string does not have a <code>.getStatus</code> option. Any ideas? Is it even possible?</p>