/*
         * Running this will cause an InvalidOperationException due to a timeout expiry as all
         * previous objects which have made a connection have not been disposed of. Therefore there will
         * be no free connections in the pool left.
         * To fix this we would need to end the app, as we don't know when the GC will be called.
         */
        public void OpeningSQLConnection()
        {
            var usingIDisposableIncorrectly = new UsingIDisposableCorrectlySQlConnection();

            usingIDisposableIncorrectly.OpeningSQLConnectionCorrectly();
        }
 /*
  * Running this will cause an InvalidOperationException due to a timeout expiry as all
  * previous objects which have made a connection have not been disposed of. Therefore there will
  * be no free connections in the pool left.
  * To fix this we would need to end the app, as we don't know when the GC will be called.
  */
 public void OpeningSQLConnection()
 {
     var usingIDisposableIncorrectly = new UsingIDisposableCorrectlySQlConnection();
     usingIDisposableIncorrectly.OpeningSQLConnectionCorrectly();
 }