private string[] array = new string[] { "item1", "item2" };
for (int counter = 0; counter < array.Length; counter++)
{
if (array[counter] != "item1"
|| array[counter] != "item2")
{
...
}
}