Edit

Bagikan melalui


EnumerableExtensions Class

Definition

Extension methods for the .Net IEnumerable class

public ref class EnumerableExtensions abstract sealed
public static class EnumerableExtensions
type EnumerableExtensions = class
Public Module EnumerableExtensions
Inheritance
EnumerableExtensions

Methods

MaxOrDefault<T>(IEnumerable<T>, IComparer<T>)

Returns the max element based on the provided comparer or the default value when the list is empty

Applies to