This project has moved and is read-only. For the latest updates, please go here.

WaveFileWriter destractor why is needed?

Nov 1, 2011 at 8:44 PM

Hi Mark,

can you explain me please for what the destractor in the WaveFileWriter class?

and why is called even if i call myFile.Dispose/Close?

Thank in advance

Nov 2, 2011 at 11:01 AM

It is there for if you forget to call Dispose. It shouldn't get called though if you dispose because GC.SuppressFinalize will be called