I have a question for c# users. [SOLVED] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I have a question for c# users. [SOLVED]

How can I make RNG luck? I don't know much advanced stuff because I'm a bit new to coding..

11th Dec 2020, 9:54 AM
Yaluner [Not Active At All]
Yaluner [Not Active At All] - avatar
1 Answer
+ 1
I am uncertain what you are asking. Are you asking generally how to get random numbers in C#? If so, here is an interesting discussion on using the Random class in C#. https://stackoverflow.com/questions/2706500/how-do-i-generate-a-random-int-number Or do you wish to make your own RNG? Here is some C code I wrote to toy with the idea. https://code.sololearn.com/c5Cgo15HcF98/?ref=app
11th Dec 2020, 1:19 PM
Brian
Brian - avatar