Table of Contents

Class ListExtensions

Namespace
ArcanaDevelopment.adTempus.Shared.Extensions
Assembly
ArcanaDevelopment.adTempus.Shared.dll
public static class ListExtensions
Inheritance
object
ListExtensions

Methods

GetRangeWithoutBoundsCheck<T>(IList<T>, int, int)

Gets the specified range of items

public static List<T> GetRangeWithoutBoundsCheck<T>(this IList<T> list, int index, int count)

Parameters

NameTypeDescription
list IList<T>
index int
count int

Returns

List<T>

Type Parameters

NameDescription
T

Remarks

If the specified range is outside the bounds of the list, returns an empty collection.