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
This works for me:
var strArray = new string[] {"abc","def","asd" }; strArray.ToList().ForEach(Console.WriteLine);