C# Console Application Folder Browser Dialog and Open File Dialog TopMost using System.Threading; using System.Windows.Forms; [ STAThread ] static void Main ( string [ ] args ) { var threadFolderBrowserDialog = new Thread ( voidFolderBrowserDialog ) ; threadFolderBrowserDialog . IsBackground = true ; threadFolderBrowserDialog . SetApartmentState ( ApartmentState . STA ) ; threadFolderBrowserDialog . Start ( ) ; Console . WriteLine ( "Запуск выбора папки и файла в новом потоке" ) ; bool Exit = false ; while ( ! Exit ) { var exit = Console . ReadLine ( ) == "exit" ? Exit = true : Exit = false ; ...