What is the VB.NET equivalent to C#'s 'using' block

前端 未结 4 1215
故里飘歌
故里飘歌 2021-01-01 10:49

I am coding in VB.NET.

Currently, I am enclosing object initialization and usage in a Try/Catch block and then tear it down (dispose, close, set to nothing) in the F

4条回答
提交回复
热议问题