EnumerableExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods to simplify working with IEnumerable collections.
public ref class EnumerableExtensions abstract sealed
public static class EnumerableExtensions
type EnumerableExtensions = class
Public Module EnumerableExtensions
- Inheritance
-
EnumerableExtensions
Methods
| DisposeElements<T>(IEnumerable<T>) |
Disposes of all non-null elements in a collection. |
| MaxOrDefault<T>(IEnumerable<T>, IComparer<T>) |
Returns the max item based on the provided comparer or the default value when the list is empty |
| ToReadOnlyCollection<T>(IEnumerable<T>) |
Creates a read-only copy of an existing collection. |