【白二白】C#异常:System.FormatException
System.FormatException:“Index (zero based) must be greater than or equal to zero and less than the size of the argument list.”解决方法:检查输出的数量是否和期望输出的数量相同如:consol.writeline("1.{0}2.{1}3.{2}",a,b);少加了一个输出,就会出现这种异常,这是不会被VS自动监测的...
复制链接