07 2013 档案

摘要:这段正则使用了前瞻的方法,匹配的数字后面必须有3的n倍个数字,保证3个为1组,并将匹配出来的数字后面添加逗号。(正负数通杀) 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Text.RegularExpressions; 6 using System.Threading.Tasks; 7 8 namespace MyRegexTest 9 {10 class Program11 {12 st... 阅读全文
posted @ 2013-07-14 16:02 特务小强 阅读(1712) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace RandTest{ class Program { static void Main(string[] args) { int m; do { Console.WriteLine("请输入要产生随机数的数量(大于0的数字)... 阅读全文
posted @ 2013-07-11 23:25 特务小强 阅读(726) 评论(2) 推荐(0) 编辑

点击右上角即可分享
微信分享提示