How can you clean up objects holding resources from within
the code?

Answer Posted / mahesh

By Using the iDisposable method

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the code behind wors and contrast that using the inline style.

568


Name the classes that are introduced in the system.numerics namespace.

637


What are the differences between user control and server control?

595


Is there built-in support for logging?

621


Tell about your technical profile ?

3106






Can a try block have nested try blocks?

605


Compare client server application with n-tier application

519


What do you mean by Code Access Security in .NET?

640


What is an assembly? What are the different types of assemblies?

597


How inheritance works in .net?

566


How do we access crystal reports in .net?

596


Different between .net & j2ee ?

595


Which namespace does it belong to by default?

573


If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.

544


what is machine key error in .NET how can we solve it?

2104