M
Matt
I want to know if finally block is optional? I tested this myself, and
the following yield the same output.
void f()
{
try
{ //code1
}
catch()
{
}
finally
{ //code2
}
}
void f()
{
try
{ //code1
}
catch()
{
}
//code2
}
please advise. thanks!!
the following yield the same output.
void f()
{
try
{ //code1
}
catch()
{
}
finally
{ //code2
}
}
void f()
{
try
{ //code1
}
catch()
{
}
//code2
}
please advise. thanks!!