I have an expression as indicated above in the header. Is it possible to use linq to iterate over an array and evaluate whether it is valid or not. example
string[] a = {"es","ag"}
if (string.EndsWith(<1 of N items in a>)==true){//do something}
source
share