using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Rextester
{
public class Program
public static void Main(string[] args)
//just by changing the spaces you can creat great shapes in the star
int j , k;
for(int i=1;i<=9;i++)
for(k=0;k<9-i;k++)
Console.Write(" ");
for(j=1;j<=i;j++)
Console.Write(" *");
Console.WriteLine();
Console.Write("* ");
}
Console.ReadLine();