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.repeat below:

ParallelEnumerable.Repeat<TResult>(TResult, Int32) Method (System.Linq) | Microsoft Learn

ParallelEnumerable.Repeat<TResult>(TResult, Int32) Method Definition

Generates a parallel sequence that contains one repeated value.

public:
generic <typename TResult>
 static System::Linq::ParallelQuery<TResult> ^ Repeat(TResult element, int count);
public static System.Linq.ParallelQuery<TResult> Repeat<TResult>(TResult element, int count);
static member Repeat : 'Result * int -> System.Linq.ParallelQuery<'Result>
Public Function Repeat(Of TResult) (element As TResult, count As Integer) As ParallelQuery(Of TResult)
Type Parameters
TResult

The type of the value to be repeated in the result sequence.

Parameters
element
TResult

The value to be repeated.

count
Int32

The number of times to repeat the value in the generated sequence.

Returns

A sequence that contains a repeated value.

Exceptions 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