Check if Item is in array list C Sharp

Is it possible to have a voice input of say various food items, and the somehow check if whatever was said was on the “Food Items” array list to return either a true or false boolean and then execute my audio response based on the true or false state of the boolean?

You can use:

bool found = Array.Contains (myArray, myItem);
if (found) {
    // do stuff
else {
    // do other stuff
}