private void Sort()
{
int i,j,empty;
int[] arr={7,5,6,3,4,2,1,810,9,0};
for(i=0;i<arr.length-1;i++)
{
for(j=i+1;j<arr.length;j++)
{
if(arr[i]>arr[j])
{
empty=arr[i];
a[i]=arr[j];
arr[j]=empty;
}
}
}
for(i=0;i<arr.length;i++)
{
console.writeline("{0}",arr[i]);
}
}