title: Random value from Dictionary?
body: <pre><code>var dd = new Dictionary&lt;Guid, object&gt;(); //readonly in my real code
  dd.Add( Guid.NewGuid() , 'a');
  dd.Add( Guid.NewGuid() , 'a');
  dd.Add( Guid.NewGuid() , 'a');
  var randone = dd.ElementAt(new Random(dd.Count()).Next(dd.Count));
  </code></pre>
  
  <p>I want to get a random value from dd as fast as possible (every ms counts), but I am pretty sure I am not doing that with the above sample. How can randone be redone to get a random KeyValuePair? In the actual code, the key is in fact a GUID but the value is a custom POCO.</p>