public static ICollection<T> AsCollection<T>(IEnumerable<T> enumerable)
Returns:
ICollection<T>

Parameters

enumerable IEnumerable<T>

Type Parameters

T
In this article