I must make a magic painting, I already have the matrix and I read the values that are in it, later I want to first add the rows, but I do not know how to do so that automatically positions 0.0,0,1,0,2 etc etc , I have the final part of the code so
Console.WriteLine("suma filas");
for (i = 0; i < matriz.GetLength(0); i++)
{
for (j = 0; j < matriz.GetLength(1); j++)
{
if (i>sumafilas)
{
sumafilas += matriz[i, i];
}
}
Console.Write(sumafilas);
Console.WriteLine();