title: Instantiating Random in or out of the loop
body: <p>I usually generate random stuff in the following manner:</p>
  
  <pre><code>Random random = new Random(DateTime.Now.Millisecond);
  
  for (int i = 0; i &lt; 100; i++)
  {
      Console.WriteLine(random.Next(0, 100));
  }
  </code></pre>
  
  <p>I was wondering whether there is a difference if I put the Random instantiation within the loop:</p>
  
  <pre><code>for (int i = 0; i &lt; 100; i++)
  {
      Random random = new Random(DateTime.Now.Millisecond);
  
      Console.WriteLine(random.Next(0, 100));
  }
  </code></pre>
  
  <p>Which is more random or they are the same?</p>