Friday, 24 October 2014

In line if statements in C#



   bool isValid = false;
   int a=200;
   int b=200;
   isValid = a > 1 && b > 1;
if(isValid)
{
//
}else
{
//
}