Describe ways of cleaning up objects.

Answers were Sorted based on User's Feedback



Describe ways of cleaning up objects...

Answer / mercy

cleaning up objects is done by garbage collector.garbage
collector free up the memory when it is no longer need

Is This Answer Correct ?    1 Yes 0 No

Describe ways of cleaning up objects...

Answer / 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

More Dot Net General Interview Questions

What is the difference between Server.Transfer and Response.Redirect?

4 Answers  


Explaing your project.

1 Answers   Deloitte,


I want to serialize instances of my class. Should I use xmlserializer, soapformatter or binaryformatter?

0 Answers  


What is model-view -controller Architecture?

1 Answers  


What is data type and how many types of data types are in .NET ?

0 Answers  






Explain code access security.

0 Answers  


What is a formatter in .net?

0 Answers  


What is a Manifest?

1 Answers   CTS,


Explain the difference between the while and for loop.

0 Answers  


What are remotable objects in .NET Remoting?

1 Answers  


How to get the number after decimal point in .net?

0 Answers  


Which ports are used by viruses? UDP/TCP?

1 Answers  


Categories