首先我们必须把这个类创建好
INIAPI
using System;
using System.Text;
using System.Runtime.InteropServices;namespace Ini
{public class IniAPI{#region INI文件操作/** 针对INI文件的API操作方法,其中的节点(Section)、键(KEY&#x…
if 表达式
if 是一个表达式,它会返回一个值。
不存在三元运算符(condition ? then : else),因为 if 在这种场景下完全可以胜任。
var max aif (a < b) max bif (a > b) {max a
} else {max b
}max if (a > b) a…