System.Linq.Enumerable.Min Method

Returns the minimum value in a sequence of decimal values.

Syntax

public static decimal Min (this IEnumerable<decimal> source)

Parameters

source
A sequence of decimal values to determine the minimum value of.

Returns

The minimum value in the sequence.

Remarks

The Enumerable.Min(IEnumerable<decimal>) method uses the decimal implementation of IComparable`1 to compare values.

In vbprvb query expression syntax, an Aggregate Into Min() clause translates to an invocation of erload:System.Linq.Enumerable.Min.

Requirements

Namespace: System.Linq
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 3.5.0.0, 4.0.0.0