title: ListView and AddRange
body: <p>Using <code>AddRange</code> in a <code>ListView</code> When you have a <strong>custom collection</strong> and want to add <strong>2 columns (properties)</strong> of the collection Items to the <code>ListView</code></p>
  
  <p>Preferably do this via <code>Telerik ListView</code></p>
  
  <p>a similar code- it is not correct because of this line :</p>
  
  <pre><code>ListViewDataItem(wi.Name, wi.ID)
  </code></pre>
  
  <p>I want a better approach if possible</p>
  
  <pre><code>        ListViewDataItem[] elements ;
          ListViewDataItem lvi; 
          int c = 0 ;
          Collection.ForEach(wi =&gt;
          {
              lvi = new ListViewDataItem(wi.Name, wi.ID);
              elements[c]  = lvi ;
              c += 1 ;
              //LvCollection.Items.Add(wi.Name, wi.ID);
          });
  
          LvCollection.Items.AddRange(elements);
  </code></pre>
  
  <p>thanks,
  any help would be appreciated</p>