public static bool IsExist(int[] arr, int n)
for (int i = 0; i < arr.Length; i++)
public static bool AllIncluded(int[] a, int[] b)
for (int i = 0; i < b.Length; i++)
if (IsExist(a, b[i]) == false)
public static void Main()
int[] a = {20, 3, 10, 5, 11, 35, 15, 2};
int[] c = {58,12, 3, 69};
Console.WriteLine(AllIncluded(a, b));
Console.WriteLine(AllIncluded(a, c));
Console.WriteLine(IsExist(a, 6));
Console.WriteLine(IsExist(a, 23));