Listas piramidales

Published by SyntaxGardener in

Para un entero positivo n, devuelve las filas del 1 al n; la fila i contiene i copias del entero i.

Ejemplo

Program.PyramidLists(3) ➢ new[] { new[] { 1 }, new[] { 2, 2 }, new[] { 3, 3, 3 } }