Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Enumerable Class
 Enumerable Members
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
.NET Framework Class Library
Enumerable Members

Updated: November 2007

Provides a set of static (Shared in Visual Basic) methods for querying objects that implement IEnumerable<(Of <(T>)>).

The Enumerable type exposes the following members.

  NameDescription
AggregateOverloaded. Applies an accumulator function over a sequence.
All<(Of <(TSource>)>) Determines whether all elements of a sequence satisfy a condition.
AnyOverloaded. Determines whether any element of a sequence exists or satisfies a condition.
AsEnumerable<(Of <(TSource>)>) Returns the input typed as IEnumerable<(Of <(T>)>).
AverageOverloaded. Computes the average of a sequence of numeric values.
Cast<(Of <(TResult>)>) Converts the elements of an IEnumerable to the specified type.
Concat<(Of <(TSource>)>) Concatenates two sequences.
ContainsOverloaded. Determines whether a sequence contains a specified element.
CountOverloaded. Returns the number of elements in a sequence.
DefaultIfEmptyOverloaded. Returns the elements of an IEnumerable<(Of <(T>)>), or a default valued singleton collection if the sequence is empty.
DistinctOverloaded. Returns distinct elements from a sequence.
ElementAt<(Of <(TSource>)>) Returns the element at a specified index in a sequence.
ElementAtOrDefault<(Of <(TSource>)>) Returns the element at a specified index in a sequence or a default value if the index is out of range.
Empty<(Of <(TResult>)>) Returns an empty IEnumerable<(Of <(T>)>) that has the specified type argument.
ExceptOverloaded. Produces the set difference of two sequences.
FirstOverloaded. Returns the first element of a sequence.
FirstOrDefaultOverloaded. Returns the first element of a sequence, or a default value if no element is found.
GroupByOverloaded. Groups the elements of a sequence.
GroupJoinOverloaded. Correlates the elements of two sequences based on key equality, and groups the results.
IntersectOverloaded. Produces the set intersection of two sequences.
JoinOverloaded. Correlates the elements of two sequences based on matching keys.
LastOverloaded. Returns the last element of a sequence.
LastOrDefaultOverloaded. Returns the last element of a sequence, or a default value if no element is found.
LongCountOverloaded. Returns an Int64 that represents the number of elements in a sequence.
MaxOverloaded. Returns the maximum value in a sequence of values.
MinOverloaded. Returns the minimum value in a sequence of values.
OfType<(Of <(TResult>)>) Filters the elements of an IEnumerable based on a specified type.
OrderByOverloaded. Sorts the elements of a sequence in ascending order.
OrderByDescendingOverloaded. Sorts the elements of a sequence in descending order.
Range Generates a sequence of integral numbers within a specified range.
Repeat<(Of <(TResult>)>) Generates a sequence that contains one repeated value.
Reverse<(Of <(TSource>)>) Inverts the order of the elements in a sequence.
SelectOverloaded. Projects each element of a sequence into a new form.
SelectManyOverloaded. Projects each element of a sequence to an IEnumerable<(Of <(T>)>) and flattens the resulting sequences into one sequence.
SequenceEqualOverloaded. Determines whether two sequences are equal according to an equality comparer.
SingleOverloaded. Returns a single, specific element of a sequence of values.
SingleOrDefaultOverloaded. Returns a single, specific element of a sequence of values, or a default value if no such element is found.
Skip<(Of <(TSource>)>) Bypasses a specified number of elements in a sequence and then returns the remaining elements.
SkipWhileOverloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.
SumOverloaded. Computes the sum of a sequence of numeric values.
Take<(Of <(TSource>)>) Returns a specified number of contiguous elements from the start of a sequence.
TakeWhileOverloaded. Returns elements from a sequence as long as a specified condition is true, and then skips the remaining elements.
ThenByOverloaded. Performs a subsequent ordering of the elements in a sequence in ascending order.
ThenByDescendingOverloaded. Performs a subsequent ordering of the elements in a sequence in descending order.
ToArray<(Of <(TSource>)>) Creates an array from a IEnumerable<(Of <(T>)>).
ToDictionaryOverloaded. Creates a Dictionary<(Of <(TKey, TValue>)>) from an IEnumerable<(Of <(T>)>).
ToList<(Of <(TSource>)>) Creates a List<(Of <(T>)>) from an IEnumerable<(Of <(T>)>).
ToLookupOverloaded. Creates a generic Lookup<(Of <(TKey, TElement>)>) from an IEnumerable<(Of <(T>)>).
UnionOverloaded. Produces the set union of two sequences.
WhereOverloaded. Filters a sequence of values based on a predicate.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker