有问题,请指教
tatic void Main(string[] args){
int[] arrSid = { 5,4,3,2,1};
string[] arrSame = { "张三","李四","王五","麻子","淘气"};
for (int i = 0; i <=arrSame .GetUpperBound (0); i++)
{
Console.WriteLine("{0},{1}->",arrSid[i],arrSame[i]);
}
Array.Sort(arrSid,arrSame );
for (int i = 0; i <arrSid .Length ; i++)
{
Console.WriteLine("{0},{1}->",arrSid[i],arrSame[i]);
}
Array.Sort(arrSid,arrSame );这个排序中,arrSame怎么就跟着arrSid的顺序排列。。。。。求大侠们指教啊