While searching for an answer to this question, I\'ve run into similar ones utilizing LINQ but I haven\'t been able to fully understand them (and thus, implement them), as I
string result = myList.FirstOrDefault(x => x == myString) if(result != null) { //found }