C#C
C#3y ago
Standard

✅ Homework Help

https://i.gyazo.com/f23d758d46581bcfb84f88d4178cd484.png

What should I return from the FillArray() method?

It would make a lot more since if I was returning an array, if the return type was an int[], but the return type is an int, therefore it should just be returning single ints. I am not sure how it is supposed to work given I am putting the entire array into FillArray() and then it's just supposed to return a single int, which I assume is the individual element.

Any help would be welcome.
Was this page helpful?