Answer the question
In order to leave comments, you need to log in
What should be written in parentheses when creating a random number generator in C#?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoloLearn
{
class Program
{
static void Main(string[] args)
{
Random rnd = new Random(1);
int x = rnd.Next();
int y = rnd.Next();
Console.WriteLine(x);
Console.WriteLine(y);
}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question