❔ I don´t understand this line of code at all (random char letter)
Hi, I am finding it really hard to understand how its possible to randomize a letter like this:
Random rnd = new Random();
char randomChar = (char)rnd.Next('a', 'z');
I thought that the Next() method only could take int's as a parameter?
Random rnd = new Random();
char randomChar = (char)rnd.Next('a', 'z');
I thought that the Next() method only could take int's as a parameter?