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

Explain the difference between the while and for loop.

0 Answers  


Please explain the difference between constants and read-only variables?

0 Answers  


When developing a Windows service for .NET, which namespace do you typically look in for required classes?

1 Answers  


what is a strong name?

3 Answers  


Class for getting the info that is on clipboard of our system in a windows App?

1 Answers  






What is .net standard?

0 Answers  


If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

0 Answers  


What is use of ContextUtil class?

1 Answers  


Explain what is the difference between response.redirect & server.transfer?

0 Answers  


Please explain what inheritance is, and why it's important?

0 Answers  


If I am writing in a language like vb or c++, what are the procedures to be followed to support .net?

0 Answers  


What are channels in .NET Remoting?

2 Answers   Rolta,


Categories