EnumerableExtensionsTakeFromUpperIndexExclusiveDownToLowerIndexInclusiveT Method |
Takes all elements of a list, starting from index upperIndexExclusive - 1 down to the index lowerIndexInclusive.
Namespace: Altaxo.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static IEnumerable<T> TakeFromUpperIndexExclusiveDownToLowerIndexInclusive<T>(
this IList<T> list,
int upperIndexExclusive,
int lowerIndexInclusive
)
Parameters
- list IListT
- The list of elements.
- upperIndexExclusive Int32
- The upper index (exclusive).
- lowerIndexInclusive Int32
- The lower index (inclusive).
Type Parameters
- T
- Type of list elements
Return Value
IEnumerableTAll elements of a list, starting from index
upperIndexExclusive - 1 down to the index
lowerIndexInclusive.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IListT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also