C
cwertman
I have an app that I have several functions I need to determine if a
given propety is a a type of Collection
It could (and in most cases is) a Generic Collection
It could be , and array , an array list , etc though.
How can I determine if its A collection, or enumerable ?
It would seem to be easiest to determine if the property implements (or
parent) IEnumerable , dosent this make sense ?
BUT
I cannot find a way to determine at any level if a property implements
IEnumerable even.
Any help is greatly appreciated.
Thanks
Chris
given propety is a a type of Collection
It could (and in most cases is) a Generic Collection
It could be , and array , an array list , etc though.
How can I determine if its A collection, or enumerable ?
It would seem to be easiest to determine if the property implements (or
parent) IEnumerable , dosent this make sense ?
BUT
I cannot find a way to determine at any level if a property implements
IEnumerable even.
Any help is greatly appreciated.
Thanks
Chris