SyntaxFix
Write A Post
Hire A Developer
Questions
Linq (for s&g's):
var test = "This is the string I'm looking for"; var found = strArray.Any(x=>x == test);
or, depending on requirements
var found = strArray.Any( x=>x.Equals(test, StringComparison.OrdinalIgnoreCase));