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

How to find the current application file path while runtime?

505


What are managed providers?

546


Explain the difference between access specifier and access modifier in c#?

502


What is ienumerator c#?

471


How do we achieve encapsulation in c#?

488






What is jit (just in time)?

555


How many bytes is an int?

494


Which of the following API is used to hide a window?

535


What is the use of parse in c#?

453


Does the variables of a private class-level inherited?

557


Is stringbuilder better than string?

519


Explain About .Net remoting

565


Explain the different ways a method can be overloaded?

454


Is list passed by reference c#?

476


What exactly is serverless?

424