EnumerableExtensions Class

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Collections.Extensions
Assembly Skybrud.Essentials.dll
Visibility Public
Keywords Static
Inheritance Object

Static class with extensions methods for instances of IEnumerable<T>.

public static class EnumerableExtensions { }

Methods

Casts the elements of an IEnumerable to the specified targetType.

Orders collection in descending order if reverse is true, otherwise in ascending order.

Orders collection in descending order if order is Descending, otherwise in ascending order.

Sorts the elements of source in descending order if reverse is true, otherwise in ascending order.

Orders source in descending order if order is Descending, otherwise in ascending order.

Creates an array from a IEnumerable .

Creates an IList from an IEnumerable .