ShutDownHook equivalent of java in C #

0

I am creating a connection to a database in SQL server with C #, and I want to make a hook to close the connection when closing the application, just like in java when using the ShutDownhook.

    
asked by Magdaleno 10.10.2018 в 01:42
source

0 answers