public class All_LINQ { public static void All_Print() { int[] num = { 1, 2, 34, 54, 45, 63, 90 }; Console.WriteLine(num.All(c => c % 2 == 0)); Console.WriteLine(num.All(c => c>= 0)); } public static void Any_Print() { int[] num = { 1, 2, 34, 54, 45, 63, 90 }; Console.WriteLine(num.Any(c => c % 2 == 0)); Console.WriteLine(num.Any(c => c < 0)); } public static void Contains_Print() { int[] num = { 1, 2, 34, 54, 45, 63, 90 }; Console.WriteLine(num.Contains(20)); } }