if (foo)
{
 a=0; 
 b=0;
}
else
{
-----......
}

And we dont use {} for one line statements