fork(4) download
  1. using System;
  2. using System.Collections.Generic;
  3.  
  4. public class MyClass
  5. {
  6. public static void Main()
  7. {
  8. List<string> names = new List<string>() { "ccc", "xxx", "aaa","bbbb" };
  9. names.Sort();
  10. var result = String.Join(",", names.ToArray());
  11. Console.Write(result);
  12. Console.ReadKey();
  13. }
  14. }
Success #stdin #stdout 0.05s 34080KB
stdin
Standard input is empty
stdout
aaa,bbbb,ccc,xxx