Senior .Net Developer Question:

Tell us why do we use the “using” statement?

Senior .Net Developer Interview Question
Senior .Net Developer Interview Question

Answer:

We use the “using” statement to make sure that we release the resources of the object in use. It always calls “Dispose of” when it finishes its block of code.


Previous QuestionNext Question
Please tell us what is the difference between Override and Overload in a method?Do you know what is .NET Standard?