Sequence Tabulate T  Method A Sandcastle Documented Class Library
Creates a sequence obtained by applying a given function over a range of integer values starting at 0.

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public static ISequence<T> Tabulate<T>(
	int length,
	Func<int, T> func
)

Parameters

length
Type: System Int32
The number of elements in the collection.
func
Type: System Func Int32, T 
The function used to produce the elements.
Type Parameters
T
The type of the elements in the sequence.

Return Value

Type: ISequence T 
A sequence obtained by applying func over a range of integer values from 0 to length - 1.
See Also