Describe ways of cleaning up objects.

Answer Posted / sugumar.r

Actually, there are two ways resources can be cleaned up
from our application.( Garbage Collection)
1. Dispose()- By default system will release all non
referenced variables from memeory.
2.Finalize()- We can explicitly perform Cleaning process
using Finalize method(Destructor)

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is .net c#?

481


What is semaphore in c#?

516


Which framework is best for desktop application?

526


how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used

2401


What is arraylist c#?

466






What are value types and reference types?

554


What is a static class in c#?

511


What is difference between C# and VB.NET?

516


Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!

16615


How many digits are in an integer?

478


What is enumerable in c#?

480


What is an escape sequence?

516


Explain inheritance in c#?

548


Define clr in .net?

569


Can you explain template pattern?

572