Microsoft Exam Questions

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

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

A.
Unlock

B.
Flush

C.
Finalize

D.
EndWrite