摘要:
using System.Text.RegularExpressions; //不要这个1、用字符串分隔:string str="aaajsbbbjsccc";string[] sArray=Regex.Split(str,"js",RegexOptions.IgnoreCase);foreach (string i in sArray) Console.Write(i.ToString() + ... 阅读全文
摘要:
冒泡排序 1using System; 2 3namespace BubbleSorter 4{ 5public class BubbleSorter 6{ 7public void Sort(int [] list) 8{ 9int i,j,temp;10bool done=false;11j=1;12while((j<list.Length)&&(!done))13{14done=true... 阅读全文