Check typeof(IEnumerable).IsAssignableFrom(type).
Every collection type, including arrays and IEnumerable<T>, implements IEnumerable.
Check typeof(IEnumerable).IsAssignableFrom(type).
Every collection type, including arrays and IEnumerable<T>, implements IEnumerable.