fork download
  1. using System;
  2. using System.Globalization;
  3. using System.Linq;
  4. using System.Collections.Generic;
  5.  
  6. public class Test
  7. {
  8.  
  9.  
  10. public static void Main()
  11. {
  12. List<string>[] array_of_lists = new List<string>[10];
  13. array_of_lists[1] = new List<string>{"some text here"};
  14. foreach(string str in array_of_lists[1])
  15. Console.WriteLine(str);
  16. }
  17. }
Success #stdin #stdout 0.03s 33952KB
stdin
Standard input is empty
stdout
some text here