Describe ways of cleaning up objects.

Answer Posted / sankari

The cleaning up objects is done by finally block in
exception

the finally block always runs whether try raises its
excetion or not

usually finally block is used to clean up resources created
by try block

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Show different types of collection in .NET?

594


Explain the difference between managed and unmanaged code?

464


Where does the gac exist ?

581


Explain what is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?

525


Different levels of priority provided by .net.

598






What is .net environment?

554


Explain the differences between server-side code and client-side code.

575


Explain the garbage collection process?

639


Explain me what is the .net framework and how does it work?

569


Compare client server application with n-tier application

519


Explain the difference between public and static modifiers?

564


Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component

1860


What is common type system (cts)?

561


Explain how to stop a thread?

623


What do the terms “boxing” and “unboxing” mean?

540