c# random next not printing code example Example: C# random.Next error public System.Random r = new System.Random(); public int guess1 = r.Next(0, 100000);