Kaos.Collections Library
Kaos.Collections Library
Kaos.Collections
RankedBag(T) Class
RankedBag(T) Methods
ICollection(T).Add Method
ICollection.CopyTo Method
IEnumerable(T).GetEnumerator Method
IEnumerable.GetEnumerator Method
ISerializable.GetObjectData Method
IDeserializationCallback.OnDeserialization Method
Add Method
Clear Method
Contains Method
ContainsAll Method
CopyTo Method
Distinct Method
ElementAt Method
ElementAtOrDefault Method
ElementsBetween Method
ElementsBetweenIndexes Method
ElementsFrom Method
First Method
GetCount Method
GetDistinctCount Method
GetEnumerator Method
GetObjectData Method
IndexOf Method
Last Method
OnDeserialization Method
Remove Method
RemoveAll Method
RemoveAt Method
RemoveRange Method
RemoveWhere Method
RetainAll Method
Reverse Method
Skip Method
SkipWhile Method
TryGet Method
TryGetGreaterThan Method
TryGetGreaterThanOrEqual Method
TryGetLessThan Method
TryGetLessThanOrEqual Method
RankedBag
T
ElementAt Method
Gets the item at the supplied index.
Namespace:
Kaos.Collections
Assembly:
KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
Copy
public
T
ElementAt
(
int
index
)
Parameters
index
Type:
System
Int32
The zero-based index of the item to get.
Return Value
Type:
T
The item at
index
.
Exceptions
Exception
Condition
ArgumentOutOfRangeException
When
index
is less than zero or not less than the number of items.
Remarks
This is a O(log
n
) operation.
See Also
Reference
RankedBag
T
Class
Kaos.Collections Namespace
[v4.2.0.0] Copyright © 2009-2019 Kasey O. (github.com/kaosborn)