'Why implement IDisposable if database connection is created in a "using" block?
Seems like "using" block handles disposing a database connection without the need to implement IDisposable, so why do I have to implement IDisposable?
using (var con = new OracleConnection(connectionString))
{
// blah
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
