I am trying identify object of type IEnumerable in c#. I tried the following code.
bool IsIenumerable(object obj) { Type type = obj.GetType(); if (type.Is