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...
阅读全文
摘要: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的数字)...
阅读全文