© 1999-2048 dssz.net 粤ICP备11031372号
[其它] asp.net下实现输入数字的冒泡排序
说明:代码如下: protected void btnSort_Click(object sender, EventArgs e) { string array1 = txtSort.Text.Trim(); string[] array21=array1.Split(‘,’); int dxiao = array21.Length; int[] array = new int[dxiao]; int temp=0; for (int i = 0; i < array.Length; i++)<weixin_38635684> 上传 | 大小:24kb