Sequence Fill T  Method (Func 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>(
	Func<T> elem,
	int count
)

Parameters

elem
Type: System Func T 
The delegate to be repeatedly evaluated.
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