Kru
Kru
CC#
Created by Kru on 12/26/2023 in #help
Random Name generator.
I wanted to learn by doing practice and reading books (hate video tutorial format). This is what I had in mind and I was able to get most of it done. 1) Capture set of names in string array 2) Get the length of the array and store the value in variable 3) Use the length stored to create random number store that in variable 4) used the random numbered to print random names from array This is all working using code below, my last requirement was, Load the name from JSON file. For the life of it i can't get it to load as Array. I was able to load it but it's printing value by specific position of character not array position. Code: https://paste.mod.gg/wracquwvdibv/0
31 replies
CC#
Created by Kru on 12/18/2023 in #help
Block of code
How do people create block of code real fast in format using {}. I see them type {} and next thing it shows up as follows. static void something() { }
33 replies