You can create an extension method to search for a string in a string array :