title: from datatable to array، no loop
body: <p>Following Code for transmission to the list box is :</p>
  
  <pre><code>            DataTable dt = new DataTable();
  
          DataColumn dc = new DataColumn("BestSite", typeof(string));
  
          dt.Columns.Add(dc);
  
          for (int i = 1; i &lt;= 10; i++)
          {
              DataRow dr = dt.NewRow();
              dr[0] = i.ToString() + " = stackoverflow";
              dt.Rows.Add(dr);
          }//EndFor
  
          var Query = from mycolumn in dt.AsEnumerable()
                      where mycolumn.Field&lt;string&gt;("BestSite") != string.Empty
                      select mycolumn;
  
  
          listBox1.DataSource = Query.AsDataView();
  
          listBox1.DisplayMember = "BestSite";
  </code></pre>
  
  <p>Transfer to array what should be? <strong>no loop</strong></p>
  
  <pre><code>  string[] myvalue = new string[Query.AsDataView().Count];
  </code></pre>