What is Dispose method in .NET ?

Answer Posted / siri

Use this method to release unmanaged resources i.e.,freeing
resources held by an object, or preparing an object for
reuse and if base class implements Idisposable,Objects must
also call the Dispose method of their base class.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between Enum and Struct?

554


Why do we need a singleton class?

510


Why data types are important?

531


What is a multicast c# delegate?

518


How do you specify a custom attribute for the entire assembly?

480






Explain streamreader/streamwriter class?

538


Differentiate between object pooling and connection pooling in c#?

550


What is the difference between int.parse and int.tryparse methods?

568


What is the ouput of the following program?

567


how dot net compiled code will become platform independent?

529


What is the difference between protected and internal in c#?

468


How can you prevent escaping on backslashes in C# with string definitions?

703


Explain the feature of c# language?

504


How do I get deterministic finalization in c#?

610


What is parallel programming in c#?

494