随笔分类 -  C#.NET基础

概念性的东西
C#写的几个基本的排序算法(二)
摘要:1class QuickSortSample 2 { 3 CommonFunctions _funcs = new CommonFunctions(); 4 5 public void Sort(int[] values, int begin, int end) 6 { 7 if (begin < end) 8 ... 阅读全文
posted @ 2007-07-11 21:38 TurtleLiu 阅读(136) 评论(0) 推荐(0)
C#写的几个基本的排序算法(三)
摘要:C#写的几个基本的排序算法(三) 1class MergeSortSample 2 { 3 public void MergeSort(int[] values, int begin, int end) 4 { 5 if (begin < end) 6 { 7 int mid = (beg... 阅读全文
posted @ 2007-07-11 21:33 TurtleLiu 阅读(219) 评论(0) 推荐(0)