0

Array in C#

Can I get a code where I declare an array and ask for a user input and place the value in the array. And a method to clear those arrays.

12th Apr 2023, 8:17 PM
Thapelo Molefe
Thapelo Molefe - avatar
3 odpowiedzi
+ 7
It is covered in the course. However Here's an example of how you can declare an array, take user input and store the values in the array, and create a method to clear the array: https://code.sololearn.com/cYFKHjiASrkF/?ref=app
13th Apr 2023, 7:27 AM
Sadaam Linux
Sadaam Linux - avatar
+ 7
Attempts?
12th Apr 2023, 11:54 PM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
+ 6
Yes you can. Have you tried completing the C# course here? This topic is covered there.
12th Apr 2023, 9:28 PM
Евгений
Евгений - avatar