I\'m very new to c# and have a question, how do I print list of string arrays? I can do it from string[] using Console.WriteLine, but if I do that for list with forEach it j
string[] arr = new string[2]{"foo","zoo"}; // sample Initialize. // Loop over strings. foreach (string s in arr) { Console.WriteLine(s); }
The console output:
foo zoo