博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年6月16日

摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace test 7 { 8 class Program 9 {10 // 检查字符串是否全为数字11 12 public bool IsNum(string Str)13 {14 bool blResult = true;15 if (Str == "")16 blResult = false;17 else18 {19 foreach (char Char in S 阅读全文

posted @ 2011-06-16 22:53 Sky_KWolf 阅读(436) 评论(0) 推荐(0) 编辑