Click or drag to resize

ItemWithIndexT Structure

Represents an element associated with its index in a sequence.

Namespace:  Linq.Extras
Assembly:  Linq.Extras (in Linq.Extras.dll) Version: 5.0.0+96a4f4bfed64095342c5df107c1fe1fb95603ee5
Syntax
public readonly struct ItemWithIndex<T>

Type Parameters

T
The type of the element.

The ItemWithIndexT type exposes the following members.

Constructors
  NameDescription
Public methodItemWithIndexT
Initializes a new instance of ItemWithIndexT.
Top
Properties
  NameDescription
Public propertyIndex
The index of the element in the sequence.
Public propertyItem
The value of the element.
Top
Methods
  NameDescription
Public methodDeconstruct
Deconstructs this ItemWithIndexT into its item and index.
Public methodEquals (Inherited from ValueType.)
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from ValueType.)
Top
See Also