EnumerableExtensionsIndicesInt32WhereT(IEnumerableT, FuncT, Boolean) Method |
Returns the indices of the elements which fullfill a given condition, given by the element's value.
Namespace: Altaxo.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static IEnumerable<int> IndicesInt32Where<T>(
this IEnumerable<T> org,
Func<T, bool> condition
)
Parameters
- org IEnumerableT
- The enumeration of elements.
- condition FuncT, Boolean
- The condition. The argument is the element's value.
Type Parameters
- T
- The type of element to consider
Return Value
IEnumerableInt32The indices of all elements in the enumeration for which the condition is fulfilled, i.e. returns true.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableT. 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