1
Answer

Random numbers

Ask a question
roy barlow

roy barlow

16y
1.9k
1

Is there any way to randomise boolean values using the Random method, It's no problem with integers but I need to randomise booleans??

Random RandomClass = new Random();

int x = RandomClass.Next(32, 64);

Thanks in Advance

Roy.


Answers (1)