Accessing a Collection Through Reflection
I had this issue, but instead of using reflection, i ended up just checking if it was IEnumerable. All collections implement that. if (item is IEnumerable) { foreach (object o in (item as IEnumerable)) { } } else { // reflect over item }