Popular Posts

Wednesday, February 8, 2012

using keyword in C#

                            The most useful advantage of using keyword is that is it calls the Dispose() method automatically to release the resources and also automatically implements the try catch blocks for you.Here it is called a using statement.So the advantage is that we don't have to explicitly write a try-catch block and our code looks small.

No comments:

Post a Comment