using System;class CutomFormat2
{
public static void Main()
{
Console.WriteLine("\n示例");
for(int x = -100; x <= 100; x += 100)
{
Console.WriteLine("{0:正数:0;负数:-0; 零:0}", x);
}

}
}
//只要这样输出就是正确的,Console.WriteLine("{0:正数:0;负数:-0; 零:0}", x);
//如果是Console.WriteLine("{0:正数:0; 零:0; 负数:-0}", x);输出就是有误的
//我想问的是C#中输出是有规则的么?