摘要: static void Main(string[] args) { string s = "Hello_C#_World!##"; string newS= CutStr(s, 5); Console.Write(newS); Console.Read(); } /// <summary> /// 截取字符串 /// </summary> /// <param name="str">待截取的字符串</param> ... 阅读全文
posted @ 2012-10-25 22:18 威少 阅读(837) 评论(0) 推荐(0) 编辑
摘要: Viewclass Program { static void Main(string[] args) { //BubbleSort(); //SelectSort(); //int[] arr = new int[] { 49, 38, 65, 97, 76, 13, 27 }; int[] arr = GetNumber(); QuickSort(arr, 0, arr.Length - 1); for (int i = 0;... 阅读全文
posted @ 2012-10-25 13:11 威少 阅读(340) 评论(0) 推荐(0) 编辑