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 a sub and a function?

9 Answers   Wipro,


How does the generational garbage collector in the .net clr manage object lifetime? What is non-deterministic finalization?

0 Answers  


Explain about .Net products?

0 Answers  


How boxing and unboxing occures in memory?

0 Answers  


What is the difference between a namespace and assembly name in .net?

0 Answers  






What are Satellite Assemblies? How you will create this? How will you get the different language strings?

3 Answers  


Explain how do assemblies find each other?

0 Answers  


I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?

0 Answers  


Is .net a language?

0 Answers  


As you know read-only variables and constants have many similarities, but what is at least one way that they differ?

0 Answers  


What is Atomicity?

3 Answers   Verifone,


Is there any thread in our .net programs?

0 Answers  


Categories