/// <summary> /// 创建文件 /// </summary> /// <param name="path">路径</param> /// <param name="content">内容</param> public static void CreateFile(string path, string content) { byte[] contentBytes = CommUtil.Str2Bytes(content); CreateFile(path, contentBytes); }