I have the following class
class Program
{
static Random _Random = new Random();
static void Main(string[] args)
{
...
for (int i = 0;
Random is a pseudo-random number generator and there's nothing preventing it from returning same result for multiple calls. After all there's a probability for this happening. Not to mention that according to the documentation:
Any instance members are not guaranteed to be thread safe.
So you shouldn't be calling the Next method at all from multiple threads.