I am sure that this question has probably already been answered, so I apologize, but I could not find the correct search conditions to find the answer.
Given the following code example, is it executing db.GetRecords().Any()?
string s = "Z";
bool x = s.IndexOfAny(new[] { 'A', 'B' }) > 0 &&
db.GetRecords().Any();
source
share