fork(2) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. string x = "some words";
  8. Console.WriteLine(x.Split().Length);
  9. Console.WriteLine(x.Split(new char[0], StringSplitOptions.RemoveEmptyEntries).Length);
  10. }
  11. }
Success #stdin #stdout 0.03s 33904KB
stdin
Standard input is empty
stdout
3
2