Sequence T  PadTo Method A Sandcastle Documented Class Library
Returns a new sequence in which the end is padded with elem, if this sequence has less elements than length.

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

Parameters

length
Type: System Int32
The number of elements to pad into the sequence.
elem
Type: T
The element to use for padding.

Return Value

Type: ISequence T 
A new sequence in which the end is padded with elem, if this sequence has less elements than length.

Implements

ISequence T  PadTo(Int32, T)
See Also