title: User control with enumerable datasource
body: <p>I'm trying to create a user control which has a DataSource, which can accept any form of collection, such as <code>List&lt;string&gt;</code> or <code>string[]</code></p>
  
  <p>If I check for <code>is IEnumerable</code> then it requires a type, checking <code>is IEnumerable&lt;Type></code> returns false, as does <code>is IEnumerable&lt;object></code></p>
  
  <p>What's the correct way to go about this? I presume I set the <code>DataSource</code> property to <code>object</code> and then check on the setter for the correct type?</p>