Почему не выдаёт массив? - C#
Формулировка задачи:
Почему не выдаёт массив?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication8
{
class Program
{
static void Main(string[] args)
{
Random rnd= new Random();
int [] otr = new int [100];
int [] pol = new int[100];
int [,] q = new int[9,9];
int g = 0;
for (int w = 0;w>9;w++)
{
int p = rnd.Next(-100,100);
q[w, g] = p;
if (w == 9)
{
g++;
w = 0;
}
Console.WriteLine(q[w,g]);
}
}
}
}Решение задачи: «Почему не выдаёт массив?»
textual
Листинг программы
for (int w = 0; w < 9; w++)