public static List <Element> ToList(HTMLCollection c) { var l = new List <Element>(); for (uint i = 0; i < c.length; i++) { l.Add(c.item(i)); } return(l); }
/// <summary>Gets a row from its index.</summary> public Element getRow(int index) { HTMLCollection allRows = rows; return(allRows.item(index == -1 ? allRows.length - 1 : index)); }