CollectionUtils
Adds the elements of the specified collection to the specified generic IList.
public static bool AddRangeDistinct<T>(this IList<T> list, IEnumerable<T> values, IEqualityComparer<T> comparer)
public static bool ContainsValue<TSource>(this IEnumerable<TSource> source, TSource value, IEqualityComparer<TSource> comparer)
Group the collection using a function which returns the key.
public static int IndexOf<TSource>(this IEnumerable<TSource> list, TSource value) where TSource : IEquatable<TSource>
Returns the index of the first occurrence in a sequence by using the default equality comparer.
public static int IndexOf<TSource>(this IEnumerable<TSource> list, TSource value, IEqualityComparer<TSource> comparer)
Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer.
Determines whether the collection is null or empty.
Determines whether the collection is null or empty.
Determines whether the collection is null, empty or its contents are uninitialized values.
Makes a slice of the specified list in between the start and end indexes.
Makes a slice of the specified list in between the start and end indexes,
getting every so many items based upon the step.