title: C# Return different types?
body: <p>I have a method which returns different types of instances (classes):</p>
  <pre><code>public [What Here?] GetAnything()
  {
       Hello hello = new Hello();
       Computer computer = new Computer();
       Radio radio = new Radio();
  
       return radio; or return computer; or return hello //should be possible?!      
  }
  </code></pre>
  <p>How can I do this and later work with the variables, e.g. <code>radio.Play()</code>, etc?</p>
  <p>Do I need to use generics, and if so, how?</p>