user image

Gagan Mishra

Job Interview Skills
English
2 years ago

Question 567. Using Directive Vs Using Statement

user image

Abhishek Mishra

2 years ago

You create an instance in a using statement to ensure that Dispose is called on the object when the using statement is exited. A using statement can be exited either when the end of the using statement is reached or if, for example, an exception is thrown and control leaves the statement block before the end of the statement.

Recent Doubts

Close [x]