fork(2) download
  1. using System;
  2. using System.Linq;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. int[] array = new int[] { 1, 5, 11, 5 };
  9. bool allPositive = array.All(x => x > 0);
  10. Console.WriteLine(allPositive);
  11. }
  12. }
Success #stdin #stdout 0.02s 33912KB
stdin
Standard input is empty
stdout
True