title: Display the list of the Selected items in the checkboxlist
body: <pre><code>Dim list As New List(Of String)
  
  list = chkparameter.Items
                     .Cast(Of ListItem)
                     .AsEnumerable()
                     .Where(Function(x) x.Selected)
                     .Select(Function(x) x.Value)
  </code></pre>
  
  <p>The error i am getting is</p>
  
  <p>Unable to cast object of type 'WhereSelectEnumerableIterator<code>2[System.Web.UI.WebControls.ListItem,System.String]' to type 'System.Collections.Generic.List</code>1[System.String]'.</p>
  
  <p>How can i rectify it.</p>
  
  <p>Thanks</p>