fork download
  1. using System;
  2. using System.Collections.Generic;
  3.  
  4. namespace Application
  5. {
  6. class Application
  7. {
  8. static void Main(string[] args)
  9. {
  10. List<int> l1 = new List<int>();
  11. l1.Add(1);
  12. l1.Add(1);
  13. l1.Add(1);
  14. List<int> l2 = new List<int>();
  15. l2.Add(3);
  16. l2.Add(3);
  17. List<int> output = new List<int>();
  18. output.AddRange(l1);
  19. output.AddRange(l2);
  20. Console.WriteLine(output.Count);
  21. foreach(int tmp in output)
  22. {
  23. Console.WriteLine(tmp);
  24. }
  25. }
  26. }
  27. }
Success #stdin #stdout 0.03s 33888KB
stdin
Standard input is empty
stdout
5
1
1
1
3
3