public void Dispose() { Dispose(true); //Take this object off the finalization queue and prevent finalization code for this object //from executing a second time. GC.SuppressFinalize(this); }