WaveFileWriter destractor why is needed?

Nov 1, 2011 at 7: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

Coordinator
Nov 2, 2011 at 10: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