For example:
if (true) try
{
// works as expected with both true and false, but is it legal?
}
catch (...)
{
// ...
}
In other words, is it legal to put the try-block right after the if condition?
For example:
if (true) try
{
// works as expected with both true and false, but is it legal?
}
catch (...)
{
// ...
}
In other words, is it legal to put the try-block right after the if condition?