int.TryParse(str1, out i1)判断是否是正确的数字(不判断带小数),带输出参数 转载于:https://www.cnblogs.com/zhang123/archive/2013/04/24/3039385.html