.NET 2
string[] myStrings = GetMyStrings(); string test = \"testValue\";
How can I verify if myStrings contains test
myStrings
test
Thought I would add another to the mix, first available in .NET 3.5, I believe:
Enumerable.Contains(myStrings.ToArray(), test)