Why after closing the main form remains hanging the master process?

When you click on the main form is hidden
Tabels Tables = new Tables();
April 3rd 20 at 18:52
1 answer
April 3rd 20 at 18:54
Hide does not terminate the application but just hides the visibility of the main form. So the application hangs in memory (continues to run).

We must not close with Hide, but with the help of Close();

If you want to terminate the application while not matter what form, you can:
Environment.Exit(0); // where 0 is your arbitrary return code in the OS

Find more questions by tags C#