C# using statement catch error

后端 未结 16 1595
轻奢々
轻奢々 2021-01-30 14:06

I am just looking at the using statement, I have always known what it does but until now not tried using it, I have come up with the below code:

 using (SqlComma         


        
16条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-30 14:46

    So, basically, "using" is the exact same as "Try/catch/finally" only much more flexible for error handling.

提交回复
热议问题