L
LP
Hi,
Considering the following code:
using(mySQLconn)
{
if (someCondition==true)
return 0;
//more code after return
//do some db calls
}
return 1;
Will .mySQLconn.Dispose(); still be invoked even when return is called?
Thank you
Considering the following code:
using(mySQLconn)
{
if (someCondition==true)
return 0;
//more code after return
//do some db calls
}
return 1;
Will .mySQLconn.Dispose(); still be invoked even when return is called?
Thank you