Pls take a look at this peice of code :
int a=1;
int b=2;
try
{
if (a==b)
{
Console.WriteLine("wrong"); //This loop should never be enetred.
}
}
catch(Exception e)
{}
The if loop should never be entered, but it is entered inside the try block.Could someone tell me why???
Thanks.
int a=1;
int b=2;
try
{
if (a==b)
{
Console.WriteLine("wrong"); //This loop should never be enetred.
}
}
catch(Exception e)
{}
The if loop should never be entered, but it is entered inside the try block.Could someone tell me why???
Thanks.