AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.6.1" />

.NET API 886,784 bytes

 IHtmlCollection

HTMLCollection is an interface representing a generic collection (array) of elements (in document order) and offers methods and properties for selecting from the list.
IElement this[int index] { get; }

Gets the specific node at the given zero-based index into the list.

IElement this[string id] { get; }

Gets the specific node whose ID or, as a fallback, name matches the string specified by name. Matching by name is only done as a last resort, only in HTML, and only if the referenced element supports the name attribute.

int Length { get; }

Gets the number of items in the collection.