What I want to be able to do, in C#, is not do something if the item is in an array.
I have a for loop going through a list of items, and it is modifying them. There are some of them that I don't want modified, and I have stored the text of them in a pre-defined array. What I want, is the for loop to go through the array of elements that I want modified, but if the text matches any of the items in another array that I have defined, to not do anything.
Is there any easy way to do this?