Skip to content
Eugene Sadovoi edited this page Jul 7, 2016 · 1 revision

Generates a sequence that contains one repeated value.

Syntax

Repeat(element, count)

Parameters

element

The value to be repeated.

count

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

Return Value

An Iterable that contains a repeated value.

Remarks

This method is implemented by using deferred execution. The immediate return value is an object that stores all the information that is required to perform the action. The query represented by this method is not executed until the object is enumerated.

Clone this wiki locally