HtmlCollection<T> sealed class HtmlCollection<T> : IHtmlCollection<T>, IEnumerable<T>, IEnumerable where T : IElement A specialized collection containing elements of type T. Documentation Code public T this[int index] { get; } public T this[string id] { get; } public int Length { get; } public HtmlCollection(IEnumerable<T> elements) Creates a new list of elements. public HtmlCollection(INode parent, bool deep = true, Predicate<T> predicate = null) Creates a new live collection for the given parent. public IEnumerator<T> GetEnumerator()