Summary
Extension methods that exist in netstandard2.1 but not netstandard2.0 - so we want to keep them available but outside
of the main namespace where they mess with the framework-supplied versions. In hindsight multi-targeting would have
been a better idea.
Static methods
IEnumerable<T> | TakeLast<T>(this IEnumerable<T> source, int count) |
Returns a collection containing only the last count items of the input collection. This method
enumerates the entire collection to the end once before returning. Note also that the memory usage of this method
is proportional to count. |
HashSet<T> | ToHashSet<T>(this IEnumerable<T> source, IEqualityComparer<T> comparer = null) | Creates a HashSet<T> from an enumerable collection. |