Click or drag to resize

CompatExtensionsAtIndex Method (IEnumerable, Int32)

Gets the item at the nth index of the enumerable.

Namespace:  com.espertech.esper.compat.collections
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public static Object AtIndex(
	this IEnumerable enumerable,
	int index
)

Parameters

enumerable
Type: System.CollectionsIEnumerable
The enumerable.
index
Type: SystemInt32
The index.

Return Value

Type: Object

[Missing <returns> documentation for "M:com.espertech.esper.compat.collections.CompatExtensions.AtIndex(System.Collections.IEnumerable,System.Int32)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable. 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