Bookcold

导航

2010年3月16日

C#委托

摘要: 委托,就是一个能够表示方法的数据类型。 准备工作,写一个冒泡排序 public static void BubbleSort(int[] items,ComparisonHandler comparionsMethod) { int i; int j; int temp; if (items == null) return; if (comparionsMethod == null) throw ... 阅读全文

posted @ 2010-03-16 16:22 bookcold 阅读(97) 评论(0) 推荐(0)