public class ExceptionLoggingService : IDisposable { . . . public void Dispose() { _streamWriter.Dispose(); } . . .
sealed
public void Dispose() { Dispose(true); GC.SuppressFinalize(this); } protected virtual void Dispose(bool disposing) { if (disposing) { if (_streamWriter != null) _streamWriter.Dispose(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)