What is Dispose method in .NET ?

Answer Posted / sanath

Dispose method is used to release unmanaged resources when
unmanaged resources are no longer in use.And Programmers
should keep in mind at
the time of codeing(using dispose method) for best memory
management.

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a .aspx file?

660


Can a class be protected in c#?

692


What is a console file?

749


Explain nullable types in c#?

747


What is the difference between convert and parse in c#?

694


What is meant by generics in c#?

715


Explain the difference between a Private Assembly and a Shared Assembly

758


What is difference between property and variable in c#?

679


Why do we use Design Pattern in C#?

835


How to handle exceptions that are raised in a component?

847


What does executescalar return in c#?

670


What is dynamic in c#?

682


What is a data set in c#?

734


Describe how a .net application is compiled and executed

732


What does it mean to override a method?

683