A typical mistake when creating random number in C# is to forget the static definition. To make the C# random class work appropriately, make sure that the declaration of your random is static as follow. using System; class Program { static void Main() { // Call method that uses class-level Random TestRandom(); /* Call same [...]