How to Dispose an Object with a using Statement or Declaration in C#
using (Connection first = new("first")) { ... } calls first.Dispose() at the closing brace, and using Connection second = new("second"); calls it at the end of the scope. Either way, the object can't be left undisposed by accident.
