LyraLearn AI Learning Platform
Exams
← Back to the lesson
Module 2 Β· Quiz

Types, Memory, and GC

1. What is the primary difference between value types and reference types?
2. Which of the following statements about boxing is true?
3. What does the garbage collector (GC) primarily rely on regarding object lifespan?
4. Which of the following correctly describes the role of `IDisposable` in relation to garbage collection?