TSpectrum<T>.Dispose
A no-op beyond marking the instance disposed.
Remarks
A spectrum holds no unmanaged resources, so disposing it is optional. It is IDisposable so it can be used in a using block.
Inherited by Spectrum and SpectrumEx.
Syntax
| Syntax | Description |
|---|---|
| Dispose() | A no-op beyond marking the instance disposed; a spectrum holds no unmanaged resources. |
Example
1
2
3
4
5
6
using Nova.Data;
using (Spectrum spectrum = new Spectrum(100))
{
Console.WriteLine(spectrum.Count);
}
This post is licensed under CC BY 4.0 by the author.