FileStream.Finalize Method
Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the FileStream.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Syntax
public override void Finalize ()
Remarks
The garbage collector calls Finalize when the current object is ready to be finalized. Finalize closes the FileStream.
Version Information
Available in .NET Micro Framework version 3.0 and above.