Sequence T  Updated Method A Sandcastle Documented Class Library
Returns a copy of this sequence with one single replaced element. If index is greater than the number of elements in this sequence, nothing will be replaced.

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

Parameters

index
Type: System Int32
The position of the replacement.
elem
Type: T
The replacing element.

Return Value

Type: ISequence T 
A copy of this sequence with the element at position index replaced by elem.

Implements

ISequence T  Updated(Int32, T)
See Also