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

Please explain what is the .net framework and how does it work?

0 Answers  


What are multicast delegates?

0 Answers  


How to use datagrid value in select statements where condition ,if cell is hyperlink bounded column?

0 Answers  


How many types of design patterns available in .NET?

0 Answers  


What are the providers available with VS.NET ?

2 Answers   TCS,






What is Serialiazation?

1 Answers   TCS,


What is the difference between reference type and value type?

0 Answers  


Explain the difference between managed and unmanaged code?

0 Answers  


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

0 Answers  


Should I implement finalize on my class? Should I implement idisposable?

0 Answers  


How will you load an assembly which is not referenced by current assembly?

0 Answers  


What are the types of assemblies in .net?

0 Answers  


Categories