Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
GavkoShmig
Posts
Comments
C
C#
•
Created by GavkoShmig on 6/10/2024 in
#help
replace variable with random number
so lets say I have
int a = something
what do I put instead of
something
to make
a
change value each time its called for example:
Console.WriteLine(a);
Console.WriteLine(a);
output:
1
8
Console.WriteLine(a);
Console.WriteLine(a);
output:
1
8
26 replies