📜  在exe的目录中创建一个文件并写入它c#代码示例

📅  最后修改于: 2022-03-11 14:48:48.696000             🧑  作者: Mango

代码示例1
string GuarnteedWritePath = System.Environment.
                             GetFolderPath(
                                 Environment.SpecialFolder.CommonApplicationData
                             );
            string FilePath = Path.Combine(GuarnteedWritePath, "LogFile.txt");