if (false && expr1)
{
// Won't evaluate expr1
}
Or
if (true || expr2)
{
// Won't evaluate expr2
}
If you want both sides to be evaluated use the "&" and "|" operators
Code samples, examples, tutorials, howto's regarding Windows, .Net development and T-SQL
No comments:
Post a Comment