Sequence Fill T  Method (T, Int32)A Sandcastle Documented Class Library
Creates a finite sequence containing the given element a number of times.

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public static ISequence<T> Fill<T>(
	T elem,
	int count
)

Parameters

elem
Type: T
The element to be repeated.
count
Type: System Int32
The number of times to repeat elem.
Type Parameters
T
The type of elements in the sequence.

Return Value

Type: ISequence T 
A sequence containg count number of elem.
See Also