摘要: public bool isnumeric(string str) { char[] ch=new char[str.Length]; ch=str.ToCharArray(); for (int i = 0; i < ch.Length;i++ ) { if (ch[i] < 48 || ch[i] > 57) { return false; } } return true;} 阅读全文
posted @ 2013-03-22 00:50 才高远志 阅读(156) 评论(0) 推荐(0) 编辑