程序博客网 > node forever stop
来源:互联网 发布:node forever stop 编辑:程序博客网 时间:2024/04/29 08:18
判断一个字符串是否全是数字
public static bool IsNum(String str){ for(int i=0;i<str.Length;i++) { if(!Char.IsNumber(str,i)) return false; } return true;}