i added comments. doesnt make much sense to me lol
for (int row = 0; row < 5; row++) // row is equal to 0. if row is less then 5 add 1 to it.
{
for(int space = 0; space < 5 - row; space++) //space is equal to 0. if space is less then 5 subtract 1 star from row and add 1 to space.
{
Console.Write(" "); //write a space " "
}
for (int star = 0; star < row * 2 + 1; star++) //star equals 0. if star is less then row times 2 + 1 then add 1 to star.
{
Console.Write("*");
}
Console.WriteLine();
Console.ReadKey();