Console.WriteLine(new[] { 1, 2, 3 }.All(x => x > 2)); //=> false
# => false
# => false
Console.WriteLine(new[] { 1, 2, 3 }.Any(x=> x > 2)); //=> true
# => true
# => true
Console.WriteLine(string.Join(", ", new[] { 1, 2, 3 }.Select(x => x + 2))); //=> 3, 4, 5
map() # => true
# => true
a = %w(albatross dog horse) a.min_by { |x| x.length } #=> "dog"