nerdexam
Microsoft

98-372 · Question #174

Which method will be called when a FileStream is collected by the garbage collector?

The correct answer is B. Finalize. See the full explanation below for the reasoning.

Question

Which method will be called when a FileStream is collected by the garbage collector?

Options

  • AEndWrite
  • BFinalize
  • CUnlock
  • DFlush

How the community answered

(52 responses)
  • A
    2% (1)
  • B
    81% (42)
  • C
    12% (6)
  • D
    6% (3)

Community Discussion

No community discussion yet for this question.

Full 98-372 Practice