fork(23) 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<int> listFullOfInts = Enumerable.Repeat(42, 50).ToList();
  13. foreach(int i in listFullOfInts)
  14. Console.WriteLine(i);
  15. }
  16. }
Success #stdin #stdout 0.03s 33984KB
stdin
Standard input is empty
stdout
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42
42