C #에서 현재 실행 파일의 이름을 어떻게 얻습니까? 현재 실행중인 프로그램의 이름, 즉 프로그램의 실행 파일 이름을 얻고 싶습니다. C / C ++에서는에서 가져옵니다 args[0]. System.AppDomain.CurrentDomain.FriendlyName System.AppDomain.CurrentDomain.FriendlyName -확장자가있는 파일 이름을 반환합니다 (예 : MyApp.exe). System.Diagnostics.Process.GetCurrentProcess().ProcessName- 확장자가 없는 파일 이름 을 반환합니다 (예 : MyApp). System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName-전체 경로와..