A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/dotnet/api/system.linq.parallelenumerable.elementat below:

ParallelEnumerable.ElementAt<TSource>(ParallelQuery<TSource>, Int32) Method (System.Linq) | Microsoft Learn

ParallelEnumerable.ElementAt<TSource> Method Definition

Returns the element at a specified index in a parallel sequence.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static TSource ElementAt(System::Linq::ParallelQuery<TSource> ^ source, int index);
public static TSource ElementAt<TSource>(this System.Linq.ParallelQuery<TSource> source, int index);
static member ElementAt : System.Linq.ParallelQuery<'Source> * int -> 'Source
<Extension()>
Public Function ElementAt(Of TSource) (source As ParallelQuery(Of TSource), index As Integer) As TSource
Type Parameters
TSource

The type of the elements of source.

Parameters
index
Int32

The zero-based index of the element to retrieve.

Returns

TSource

The element at the specified position in the source sequence.

Exceptions

source is a null reference (Nothing in Visual Basic).

index is less than 0 or greater than or equal to the number of elements in source.

One or more exceptions occurred during the evaluation of the query.

See also

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4