AngleSharp by Florian Rappl

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

 BaseCollection<T>

public abstract class BaseCollection<T> : IHTMLObject, IEnumerable<T>, IEnumerable where T : Node
The abstract template class for most DOM collections.
protected List<T> _entries

The contained entries.

public T this[int index] { get; set; }

Gets or sets a node within the list of nodes.

public int Length { get; }

Gets the number of nodes in the list.

Returns an enumerator that iterates through the list.

public virtual string ToHtml()

Returns an HTML-code representation of the nodelist.

public string ToText()

Returns a special textual representation of the node.