Which of the following statements are correct?
A. There is one garbage collector per program running in memory
B. There is one common garbage collector for all programs
C. To garbage collect an object set all references to it as null
D. Both There is one common garbage collector for all programs & To garbage collect an object set all references to it as null
Answer: Option D
Related Questions on Classes and Objects in C Sharp
A. A blueprint for creating objects
B. A method in C#
C. A variable in C#
D. A data type in C#
A. A method in C#
B. A variable in C#
C. An instance of a class
D. A data type in C#
A. public
B. private
C. protected
D. internal

Join The Discussion