for (int j = 0; j < 99; j++)
{
for (int k = j; k < 100; k++)//k=j
{
if (arr[j] == arr[k])
{
Console.WriteLine(arr[j]);
}
}
}
去搜洗牌算法。