It will stop evaluating because you’re using the double ampersand && operator. This is called short-circuiting.
If you changed it to a single ampersand:
if(myList.Count > 0 & myString.Equals("value"))
it would evaluate both.
It will stop evaluating because you’re using the double ampersand && operator. This is called short-circuiting.
If you changed it to a single ampersand:
if(myList.Count > 0 & myString.Equals("value"))
it would evaluate both.