I'm trying to compare one list of string (list1) with next list (list2) values (next list of string). I found plenty of solution with sequence ordering but in my case it does not matter.
My list of string will be for example:
List<string> myList1 = new List() {'123', '234','345'}
Right now I need to create a method which will take list "1" as a parameter and then loops (?) through the list "2" to check if values from list 1 are in the list 2
public bool IsValueInsideTheList(string[] orderNumbersToFindInTheList)
{
//Here I suppose I need to do the looping with foreach/ for to check if value of list1 are in the list2
}