Releases the resources used by the current instance of the BinaryWriter class.
Assembly: mscorlib (in mscorlib.dll)
When you are finished using this instance of BinaryWriter, call Dispose to release all resources used by this instance. You should eliminate further references to this BinaryWriter instance so that the garbage collector can reclaim the memory of the instance instead of keeping it alive for finalization.
calls the BinaryWriter.Dispose(Boolean) method, which contains the code to release managed and unmanaged resources.
Windows PhoneThis member is present to support the .NET Compact Framework infrastructure in Windows Phone, and it is not intended to be used in your application code.