using System;
public class Program
{
public static void Main()
double[, ] perfect = new double[3, 10]; //3 rows and 10 columns
for (int i = 0; i < 3; i++) //This will reference the row number
for (int J = 0; J < 10; J++) //This will reference the column number
perfect[i, J] = Math.Pow((double)J, (double)i + 2);
}