coding:
BubbleSorter.cs:
注:
1)指向一个方法
The comparison must refer to a method that takes two arguments, and returns true if the value of the first argument is smaller than the second one.
2)方法的指针
You instantiated an array of delegates to store references of two methods.
Employee.cs:
Main.cs:
Result: