分类：电脑/网络
问题：过滤掉年龄为双数的数据写一个例子！！C#哦！.net 
.net
回答：int[] numberlist = new int[10];
        Random random = new Random();
        for (int i = 0; i <= 9; i++)
        {
            numberlist[i] = random.Next();
        }
        for (int i = 0; i <= 9; i++)
        {
            if (numberlist[i] % 2 != 0)
            {
                Console.WriteLine(numberlist[i]);
            }
        }