public static void Main()
static void staircase(int n) {
for (int i = 1; i < n; i++) {
for (int j = 0; j < n; j++) {
var tempSpace = space.Substring(0, space.Length - j);
Console.Write($"space: {space.Length} | ");
Console.Write($"tempSpace: {tempSpace.Length} | ");
Console.Write(space + hash);
Console.Write(Environment.NewLine);