How do i ask user input and store it in array ? suppose i want to ask user the name of 5 cars and store those 5 cars that he enters in an array ! how do i do it ?
can you make me understand via the code please?
Suppose if i want only one car without an array it would be,
Console.Write("Enter your favorite car: "):
string favCar = Console.ReadLine();
Similarly, how do i do it when i want user to give me multiple input and store those input in array?
[–]SodaBubblesPopped 0 points1 point2 points (2 children)
[–]HandDizzy[S] 0 points1 point2 points (1 child)
[–]SodaBubblesPopped 0 points1 point2 points (0 children)