title: Select items from ASP.NET collections by percentage
body: <p>I have a collection contains let say 100 items.</p>
  
  <pre><code>Collection&lt;int&gt; myCollection = new Collection&lt;int&gt;();
  
  for(int i; i &lt;= 100; i++)
  {
      myCollection .Add(i);
  }
  </code></pre>
  
  <p>How can i randomly select items by percentage(eg. 30%) from this collection?</p>