Answers for "c# one array contains all elements another array"

C#
1

c# arraylist contains

IList arList = new ArrayList();
arList.Add(100);
arList.Add("Hello World");
arList.Add(300);

Console.WriteLine(arList.Contains(100)); // true
Posted by: Guest on June-24-2020
0

c# check if array contains value

public static bool Contains(Array a, object val)
    {
        return Array.IndexOf(a, val) != -1;
    }
Posted by: Guest on November-10-2020

Code answers related to "c# one array contains all elements another array"

C# Answers by Framework

Browse Popular Code Answers by Language