title: C# cast Foo<Bar> to Foo<object>
body: <p>does anyone know if it is possible to cast a generic type with a certain type parameter (e.g. Bar) to the same generic type with the type parameter being a base type of Bar (such as object in my case). And, if it is possible, how would it be done?</p>
  
  <p>What I want to do is have a collection of <code>Foo&lt;object&gt;</code> but be able to add Foos with more specific type arguments.</p>
  
  <p>Thanks </p>