当try{}内容不抛错时,使用try{}和正常执行并无明显差别
以数组中取值为测试
int xi = test[1];
循环100000000次测试结果如下

当try{}内容抛错之时,与添加数组长度判断比较,test为长度为6位的List
以数组中取值为测试
try
{
int xi = test[7];
}
catch (Exception e)
{
}
int xi = test[test.Count - 1];
正常循环100000000次,catch越界错误循环1000次对比测试,

