Dev2.TypeExtensionMethods.IsEnumerable C# (CSharp) Method

IsEnumerable() public static method

public static IsEnumerable ( this type ) : bool
type this
return bool
        public static bool IsEnumerable(this Type type)
        {
            return type != typeof (string) && type.GetInterfaces().Contains(typeof (IEnumerable));
        }
TypeExtensionMethods