Monday, June 20, 2016

Using Keyword

The Using statement simplifies the code that we have to write to create and then finally clean up the object. The using statement obtains the resource specified, executes the statements and finally calls the Dispose method of the object to clean up the object.

No comments:

Post a Comment