Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
LeNoX
Posts
Comments
C
C#
•
Created by LeNoX on 1/11/2024 in
#help
Getting a random number from 1 to 10
Ty, works good
10 replies
C
C#
•
Created by LeNoX on 1/11/2024 in
#help
Getting a random number from 1 to 10
Is there any chance to convert the int to a string? Just realized you cant put both in an if statement
10 replies
C
C#
•
Created by LeNoX on 1/11/2024 in
#help
Getting a random number from 1 to 10
I did it like that:
Random random
= new
Random
();
int
randomNumber
=
random.
Next
(
1
,
10
);
Random random
= new
Random
();
int
randomNumber
=
random.
Next
(
1
,
10
);
ty
10 replies