title: C# - Get value of tr in html
body: <p>I start my code with:</p>
  
  <pre><code>        private int GetSizeOf(IEnumerable&lt;HtmlNode&gt; tables)
          {
              int size = 0;
              var infos = tables.ElementAt(0).Elements("td");
              foreach (var info in infos)
                  size++;
              return (size);
          }
  
          private void saveButton_Click(object sender, EventArgs e)
          {
              var doc = new HtmlAgilityPack.HtmlDocument();
              doc.Load(tooltip.GetToolTip(labelFile));
              var element = doc.DocumentNode
                               .Element("html")
                               .Element("body")
                               .Element("div")
                               .Element("center");
              var tables = element.Elements("table").ElementAt(2).Elements("tr");
              arrayInfos = new string[GetSizeOf(tables), tables.Count()];
          }
  </code></pre>
  
  <p>I would like get value of a table (td) in html, I would like also stored all values in a multidimensional array (display_name (0.x), pseudo (1.x), age (2.x), confirmed (3.x), admin (4.x))<br />
  The html code look likes this:</p>
  
  <pre><code>&lt;table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="80%"&gt;
  &lt;tr&gt;
      &lt;td nowrap bgcolor="#FFFFCE"&gt;&lt;b&gt;&lt;font color="#DC883D"&gt;display_name&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
      &lt;td nowrap bgcolor="#FFFFCE"&gt;&lt;b&gt;&lt;font color="#DC883D"&gt;pseudo&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
      &lt;td nowrap bgcolor="#FFFFCE"&gt;&lt;b&gt;&lt;font color="#DC883D"&gt;age&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
      &lt;td nowrap bgcolor="#FFFFCE"&gt;&lt;b&gt;&lt;font color="#DC883D"&gt;confirmed&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
      &lt;td nowrap bgcolor="#FFFFCE"&gt;&lt;b&gt;&lt;font color="#DC883D"&gt;admin&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td bgcolor="#FFF7F2"&gt;Example&lt;/td&gt;
      &lt;td bgcolor="#FFF7F2"&gt;Example&lt;/td&gt;
      &lt;td bgcolor="#FFF7F2"&gt;20&lt;/td&gt;
      &lt;td bgcolor="#FFF7F2"&gt;1&lt;/td&gt;
      &lt;td bgcolor="#FFF7F2"&gt;0&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>
  How can I do that ?</p>