fork download
  1. using System;
  2.  
  3. public static class Test
  4. {
  5. public static IEnumerable<T> quicksort<T>(IEnumerable<T> this arg) {
  6. if (!arg.Any()) return arg;
  7. return arg.Where(val => val <= arg.First()).Concat(arg.Where(val => val > arg.First));
  8. }
  9. public static void Main()
  10. {
  11. // your code goes here
  12. }
  13. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(5,65): error CS1041: Identifier expected, `this' is a keyword
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty