P
parez
Whats the best way of handing exception of using?
Is it method 1 or method 2 or some other way
########## Method 1 ###########
using(something)
{
try
{
}
catch
{
}
}
########## Method 2 ###########
using(something)
{
try
{
}
catch
{
}
finally
{
}
}
Is it method 1 or method 2 or some other way
########## Method 1 ###########
using(something)
{
try
{
}
catch
{
}
}
########## Method 2 ###########
using(something)
{
try
{
}
catch
{
}
finally
{
}
}