We have some kind of operator in C #, thanks to which I can avoid evaluating a short circuit and go to all conditions.
say
if(txtName.Text.xyz() || txtLastName.Text.xyz()) { } public static bool xyz(this TextBox txt) {
He must evaluate all conditions regardless of the results obtained. And after evaluating the last condition, it continues in accordance with the result.
operators c # short-circuiting
Shantanu gupta
source share