How can I add inputs from the user into an array in C# only by function and without using another variable?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I add inputs from the user into an array in C# only by function and without using another variable??

29th Nov 2022, 12:24 PM
MOHAMMED ISMAIL S
1 Answer
+ 2
What kind of user input? Numbers? Strings? – Create an array – Use a loop to get input and store it into the array
29th Nov 2022, 1:05 PM
Lisa
Lisa - avatar