以下函数在执行了try或catch中的return后还会执行finally块中的代码吗?
不是说函数中执行了return后就跳出函数体了吗?
但是异常处理的 finally的意图好象是无论如何都会执行的吧?

public bool ClientBookIn_Add(string clientID,string roomID,System.DateTime inDate,string re)
{
this.selectStr="insert into ClientRecord(ClientID,RoomID,InDate,Re) values("+"'"+clientID+"',"+"'"+roomID+"',"+"'"+inDate+"',"+"'"+re+"')";
this.sqlCommand1.CommandText=this.selectStr;
try
{
this.sqlConnection1.Open();
this.sqlCommand1.ExecuteNonQuery();
this.RoomPeopleNum_Add(roomID);
return true;
}
catch(System.Exception E)
{
Console.WriteLine(E.ToString());
this.sqlConnection1.Close();
return false;
}
finally
{
this.sqlConnection1.Close();
}
}