how to get the application physical path in windows forms application

后端 未结 5 642
滥情空心
滥情空心 2020-12-16 04:20

how to get the application path in windows forms , i used the bellow code but it is saying like \"method not found\"

Application.ExecutablePath;
Application.         


        
5条回答
  •  情歌与酒
    2020-12-16 05:06

    Add reference System.Windows.Forms and add in using section

    using System.Windows.Forms;
    

提交回复
热议问题