Table of Contents

Method RemoveRange

Namespace
GuildWars2.Collections
Assembly
GuildWars2.dll

RemoveRange(IEnumerable<T>, IEqualityComparer<T>?)

Creates a new ImmutableValueArray<T> with the specified items removed.

public ImmutableValueArray<T> RemoveRange(IEnumerable<T> elementsToRemove, IEqualityComparer<T>? equalityComparer)

Parameters

elementsToRemove IEnumerable<T>

The items to remove.

equalityComparer IEqualityComparer<T>

The equality comparer to use.

Returns

ImmutableValueArray<T>

A new array with the items removed.

RemoveRange(int, int)

Creates a new ImmutableValueArray<T> with a range of items removed.

public ImmutableValueArray<T> RemoveRange(int index, int count)

Parameters

index int

The zero-based starting index of the range to remove.

count int

The number of items to remove.

Returns

ImmutableValueArray<T>

A new array with the range removed.