int i =3
while (i<=1000)
{
str.Append(araye[i]);
i+=2;
}