Draw triangle

Write a method that draws triangle shape like below.
Expected input and output
DrawTriangle() → * ** *** **** ***** ****** ******* ******** ********* **********
using System;

namespace CSharpExercises.Exercises.Loops
{
    class DrawTriangleTask
    {
        static void DrawTriangle()
        {
            for (int i = 0; i < 10; i++)
            {
                for (int j = 10; j > i; j--)
                {
                    Console.Write(" ");
                }
                for (int k = 10; k >= 10 - i; k--)
                {
                    Console.Write("*");
                }
                Console.WriteLine();
            }
        }

        static void Main(string[] args)
        {
            DrawTriangle();
        }
    }
}