[System.Runtime.InteropServices.DllImportAttribute("kernel32.dll")]
private static extern bool WritePrivateProfileString(
            string lpAppName,
            string lpKeyName,
            string lpString,
            string lpFileName
            );这段代码总是提示错误
错误: 应输入 } 行: 1
错误: 应输入类型、命名空间定义或文件尾 行: 1