+ 1
Is these a way to fill an array at once after declaration in c#?
I would like to fill an array with all different (nonrandom) values after I declared it can something like the array = {12, 23 .....} still be used?
1 Antwort
+ 1
I am not sure if you can do something like array={0...40}
But you can use the c# build in functions or make your own method.
I hope I am not to late and this will help you.
🤞🤞
https://code.sololearn.com/cR9A0InI2oA2/?ref=app
https://code.sololearn.com/cb2o6XJQBDND/?ref=app