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

Difference between value and reference type.

714


What are value types and reference types?

787


Is an array an object c#?

736


In the page load event I assigned dropdownlist’s datasource property to a valid list. On the submit button click.. The same datasource property is coming as null. Why?

679


What is sealed class in c#?

703


What is c# windows form application?

708


What is a multi line comment?

750


What are jagged arrays used for?

696


Explain partial class in c#?

694


Is multilevel inheritance possible in c#?

663


if a method is marked as protected internal who can access it?

781


What are the benefits of using the aggregate method in linq?

721


Explain concurrency with aop?

744


What is Fragmentation and its Types?

756


What are the types of operator?

648