dispose method in asp.net mvc code example
Example 1: dispose method in c# with example
public void Dispose()
{
// Dispose of unmanaged resources.
Dispose(true);
// Suppress finalization.
GC.SuppressFinalize(this);
}
Example 2: dispose method in c# with example
protected virtual void Dispose(bool disposing)
{
}