System::Collections::Generic::IEnumerable::LINQ_Min method

IEnumerable::LINQ_Min(const Func<Source, ResultType>&) method

template<typename ResultType> ResultType System::Collections::Generic::IEnumerable<T>::LINQ_Min(const Func<Source, ResultType> &selector)

See Also

IEnumerable::LINQ_Min(const Func<T, ResultType>&) method

Invokes a transform function on each element of a generic sequence and returns the minimum resulting value.

template<typename ResultType> ResultType System::Collections::Generic::IEnumerable<T>::LINQ_Min(const Func<T, ResultType> &selector)
ParameterDescription
ResultTypeThe type of the value returned by selector.
ParameterTypeDescription
selectorconst Func<T, ResultType>&A transform function to apply to each element.

ReturnValue

The minimum value in the sequence.

See Also