fork(2) download
  1. using System;
  2. using System.Linq;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. Random rnd = new Random();
  9. String zdanie = "Ala ma czarnego kota";
  10.  
  11. Console.WriteLine(
  12. String.Join(" ", zdanie.Split(' ').OrderBy(item => rnd.Next()).ToArray())
  13. );
  14. }
  15. }
Success #stdin #stdout 0.04s 33992KB
stdin
Standard input is empty
stdout
ma kota Ala czarnego