Are You A .Net Memory Management Guru?

6 Questions | Total Attempts: 956

SettingsSettingsSettings
Please wait...
Memory Management Quizzes & Trivia

Are you a. NET Memory Management Guru? Take Andrew's fiendish Quiz and stand a chance to win a copy of the new Red Gate's ANTS Memory Profiler 5 by entering the prize draw at the end of the quiz.


Questions and Answers
  • 1. 
    .NET developers should explicitly call GC.Collect to improve their application's performance.
    • A. 

      True

    • B. 

      False

  • 2. 
    A garbage collection removes all objects that are no longer referenced by the program.
    • A. 

      True

    • B. 

      False

  • 3. 
    Which of these items is not a GC root?
    • A. 

      A static variable

    • B. 

      A local variable

    • C. 

      A class field

    • D. 

      A method parameter

  • 4. 
    The memory used by an object is released when Dispose() is called.
    • A. 

      True

    • B. 

      False

  • 5. 
    Allocating memory on the managed heap in .NET applications is extremely fast.
    • A. 

      True

    • B. 

      False

  • 6. 
    Objects larger than 85KB are never moved by the garbage collector.
    • A. 

      True

    • B. 

      False

Back to Top Back to top