get user input string in arrey in C#

113

get user input string in arrey in C# -

string []answer = new string[10];
for(int i = 0;i<answer.length;i++)
{
        answer[i]= Console.ReadLine();
}

Comments

Submit
0 Comments