ImmutableSortedSet<T>.IList<T>.Insert Method (Int32, T)

 

Inserts an item in the set at the specified index..

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

void IList<T>.Insert(
	int index,
	T item
)

Parameters

index
Type: System.Int32

The zero-based index at which item should be inserted.

item
Type: T

The object to insert into the set.

This member is an explicit interface member implementation. It can be used only when the ImmutableSortedSet<T> instance is cast to an IList<T> interface.

NuGet package: System.Collections.Immutable (about immutable collections and how to install)

Return to top
Show: