EnumerableExtensionsTakeFromUpperIndexInclusiveDownToLowerIndexInclusiveT Method |
Takes all elements of a list, starting from index upperIndexInclusive 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> TakeFromUpperIndexInclusiveDownToLowerIndexInclusive<T>(
this IList<T> list,
int upperIndexInclusive,
int lowerIndexInclusive
)
Parameters
- list IListT
- The list of elements.
- upperIndexInclusive Int32
- The upper index (inclusive).
- lowerIndexInclusive Int32
- The lower index (inclusive).
Type Parameters
- T
- Type of list elements
Return Value
IEnumerableT[Missing <returns> documentation for "M:Altaxo.Collections.EnumerableExtensions.TakeFromUpperIndexInclusiveDownToLowerIndexInclusive``1(System.Collections.Generic.IList{``0},System.Int32,System.Int32)"]
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