int[] score = {23,16,16,20,19,16 };
//int[] nscore = new int[];
ArrayList da = new ArrayList();
for (int i = 0; i < score.Length;i++ )
{
if (!da.Contains(score[i]))
{
da.Add(score[i]);
}
}
for (int j = 0; j < da.Count;j++ )
{
Console.WriteLine(da[j]);
}
Console.ReadKey();
//int[] nscore = new int[];
ArrayList da = new ArrayList();
for (int i = 0; i < score.Length;i++ )
{
if (!da.Contains(score[i]))
{
da.Add(score[i]);
}
}
for (int j = 0; j < da.Count;j++ )
{
Console.WriteLine(da[j]);
}
Console.ReadKey();