how to quit c# on vs code example Example: c# program exit System.Windows.Forms.Application.ExitThread( )