fork download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4.  
  5. public class Test
  6. {
  7. public static void Main()
  8. {
  9. string s="TestMEpleseAndCry";
  10. var a=string.Concat(s.Select(c=>""+c).OrderBy(x=>x));
  11. Console.WriteLine(a);
  12. }
  13. }
Success #stdin #stdout 0.02s 131648KB
stdin
Standard input is empty
stdout
ACdeeeElMnprsstTy