c# 程序
public void sort(a)
{
int j;
int key;
for(j=2;j0 && a[i]>key )
a[i+1}=a[i];
i=i-1;
a[i+1]=key
}