Describe ways of cleaning up objects in c#.



Describe ways of cleaning up objects in c#...

Answer / Dharmendra Maurya

Cleaning up objects in C# can be done through various methods such as garbage collection (managed memory), IDisposable interface, using statement, and destructor (finalizer).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is a hash table in c#?

1 Answers  


Does unity use c++ or c#?

1 Answers  


What is difference between assembly and dll?

1 Answers  


What is the meaning of 0 in c#?

1 Answers  


How do you inherit from a class in C#?

1 Answers  


What is a Managed Code??

1 Answers  


What?s class SortedList underneath?

1 Answers  


What is Garbage Collection in .Net?

1 Answers  


What is c# in asp net?

1 Answers  


Why is it not a good idea to insert code into InitializeComponent method when working with Visual Studio ?

1 Answers  


Define collections?

1 Answers  


Can hashtable have duplicate keys in c#?

1 Answers  


Categories