Class ListExtensions
- Namespace
- ArcanaDevelopment.adTempus.Shared.Extensions
- Assembly
- ArcanaDevelopment.adTempus.Shared.dll
public static class ListExtensions
- Inheritance
-
objectListExtensions
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
| Name | Type | Description |
|---|---|---|
list |
IList<T> | |
index |
int | |
count |
int |
Returns
- List<T>
Type Parameters
| Name | Description |
|---|---|
T |
Remarks
If the specified range is outside the bounds of the list, returns an empty collection.