Export (0) Print
Expand All

Enumerable Members

.NET Framework 3.5

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

The Enumerable type exposes the following members.

  NameDescription
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Aggregate Overloaded. Applies an accumulator function over a sequence.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework All<TSource> Determines whether all elements of a sequence satisfy a condition.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Any Overloaded. Determines whether any element of a sequence exists or satisfies a condition.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework AsEnumerable<TSource> Returns the input typed as IEnumerable<T>.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Average Overloaded. Computes the average of a sequence of numeric values.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Cast<TResult> Converts the elements of an IEnumerable to the specified type.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Concat<TSource> Concatenates two sequences.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Contains Overloaded. Determines whether a sequence contains a specified element.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Count Overloaded. Returns the number of elements in a sequence.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework DefaultIfEmpty Overloaded. Returns the elements of an IEnumerable<T>, or a default valued singleton collection if the sequence is empty.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Distinct Overloaded. Returns distinct elements from a sequence.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ElementAt<TSource> Returns the element at a specified index in a sequence.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ElementAtOrDefault<TSource> Returns the element at a specified index in a sequence or a default value if the index is out of range.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Empty<TResult> Returns an empty IEnumerable<T> that has the specified type argument.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Except Overloaded. Produces the set difference of two sequences.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework First Overloaded. Returns the first element of a sequence.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework FirstOrDefault Overloaded. Returns the first element of a sequence, or a default value if no element is found.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GroupBy Overloaded. Groups the elements of a sequence.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GroupJoin Overloaded. Correlates the elements of two sequences based on key equality, and groups the results.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Intersect Overloaded. Produces the set intersection of two sequences.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Join Overloaded. Correlates the elements of two sequences based on matching keys.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Last Overloaded. Returns the last element of a sequence.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework LastOrDefault Overloaded. Returns the last element of a sequence, or a default value if no element is found.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework LongCount Overloaded. Returns an Int64 that represents the number of elements in a sequence.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Max Overloaded. Returns the maximum value in a sequence of values.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Min Overloaded. Returns the minimum value in a sequence of values.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework OfType<TResult> Filters the elements of an IEnumerable based on a specified type.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework OrderBy Overloaded. Sorts the elements of a sequence in ascending order.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework OrderByDescending Overloaded. Sorts the elements of a sequence in descending order.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Range Generates a sequence of integral numbers within a specified range.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Repeat<TResult> Generates a sequence that contains one repeated value.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Reverse<TSource> Inverts the order of the elements in a sequence.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Select Overloaded. Projects each element of a sequence into a new form.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework SelectMany Overloaded. Projects each element of a sequence to an IEnumerable<T> and flattens the resulting sequences into one sequence.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework SequenceEqual Overloaded. Determines whether two sequences are equal according to an equality comparer.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Single Overloaded. Returns a single, specific element of a sequence of values.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework SingleOrDefault Overloaded. Returns a single, specific element of a sequence of values, or a default value if no such element is found.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Skip<TSource> Bypasses a specified number of elements in a sequence and then returns the remaining elements.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework SkipWhile Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Sum Overloaded. Computes the sum of a sequence of numeric values.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Take<TSource> Returns a specified number of contiguous elements from the start of a sequence.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework TakeWhile Overloaded. Returns elements from a sequence as long as a specified condition is true, and then skips the remaining elements.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ThenBy Overloaded. Performs a subsequent ordering of the elements in a sequence in ascending order.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ThenByDescending Overloaded. Performs a subsequent ordering of the elements in a sequence in descending order.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToArray<TSource> Creates an array from a IEnumerable<T>.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToDictionary Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T>.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToList<TSource> Creates a List<T> from an IEnumerable<T>.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToLookup Overloaded. Creates a generic Lookup<TKey, TElement> from an IEnumerable<T>.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Union Overloaded. Produces the set union of two sequences.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Where Overloaded. Filters a sequence of values based on a predicate.
Top

Community Additions

ADD
Show:
© 2014 Microsoft