摘要:
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> ... 阅读全文
摘要:
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;... 阅读全文