c# 折半查找法实现代码 1int[] a =newint[20] {2,3,6,7,12,18,19,21,25,28,30,33,37,39,42,45,47,49,50,51};2intx =18, i;3stringj, k;4vard = find(a, x,0,19);5if(d == -1)6{7k = String.Format("未找到{0}", x);8}9else10{11for(i =0; i <20; i++)12{1...