+ 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?

25th Dec 2017, 7:53 AM
Michiel Coenen
Michiel Coenen - avatar
1 Resposta
+ 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
31st Dec 2017, 4:03 PM
Adam Staes
Adam Staes - avatar