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