static void Main(string[] args)
{
Console.WriteLine(Process2(100));
Console.ReadLine();
}
public static int Process2(int i)
//计算1+2+3+4+...+100的值
if (i == 0)
return 0;
return Process2(i - 1) + i;