fork download
  1. using System;
  2. using System.Collections.Generic;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. List<string> values = new List<string>();
  9. values.Add("14");
  10. values.Add("24");
  11. values.Add("114");
  12. values.Sort();
  13. foreach(string value in values)
  14. {
  15. Console.WriteLine(value);
  16. }
  17. }
  18. }
Success #stdin #stdout 0.05s 34864KB
stdin
Standard input is empty
stdout
114
14
24