fork(17) download
  1. using System;
  2. using System.Collections.Generic;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. List<double> m = new List<double>();
  9. m.Add(1);
  10. m.Add(2);
  11. m.Add(3);
  12. m.Add(7);
  13. foreach (var d in m)
  14. {
  15. Console.WriteLine(d);
  16. }
  17. }
  18. }
Success #stdin #stdout 0.03s 34704KB
stdin
Standard input is empty
stdout
1
2
3
7