if (a >= b && a <= c) { DoSomething(1); } else { DoSomething(2); }
&&
else
if
if (a > b && a > c) { // do something }
if (a > b) { if (a > c) { // do something } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)