Table of Contents

Class IEnumerableExtensions

Namespace
Zorro.Core
Assembly
Zorro.Core.Runtime.dll
public static class IEnumerableExtensions
Inheritance
IEnumerableExtensions
Inherited Members

Methods

MaxBy<T>(IEnumerable<T>, Func<T, IComparable>)

public static T MaxBy<T>(this IEnumerable<T> enumerable, Func<T, IComparable> selector)

Parameters

enumerable IEnumerable<T>
selector Func<T, IComparable>

Returns

T

Type Parameters

T

RandomElement<T>(IEnumerable<T>)

public static T RandomElement<T>(this IEnumerable<T> enumerable)

Parameters

enumerable IEnumerable<T>

Returns

T

Type Parameters

T