Convert VB to C# - My.Application.Info.DirectoryPath

后端 未结 8 1725
自闭症患者
自闭症患者 2021-02-04 06:35

What are the best C# (csharp) equivalents for the following VB (VB.NET, VisualBasic) statements:

My.Application.Info.DirectoryPath

My.Computer.Clipboard

My.Com         


        
8条回答
  •  误落风尘
    2021-02-04 07:05

    I think that you search is this sentence:

    Application.StartupPath;
    //Get file path without file name.
    

提交回复
热议问题