title: C# - Random number with seed
body: <p>I have this code:</p>
  
  <pre><code>var rand = new Random(0);
  for(int i = 0; i &lt; 100; i++)
  {
    Console.WriteLine(rand.Next(0, 100));
  }
  </code></pre>
  
  <p>And program should give me 100 times the same number (because seed is the same), but it gives different numbers...<br>
  Why?</p>
  
  <p>Edit:<br>
  When I will do</p>
  
  <pre><code>for(int i = 0; i &lt; 100; i++)
  {
    Console.WriteLine(new Random(0).Next);
  }
  </code></pre>
  
  <p>That returns the same number every time. That means, seed is changing? If yes, how? Is it increasing?</p>