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)- A2% (1)
- B81% (42)
- C12% (6)
- D6% (3)
Community Discussion
No community discussion yet for this question.