My question is how to make a pyramid using * and \'space\' in C#? The output will be like this.
* * * * * * * * * * * * * * *
Your problem is spaces, therefore I suggest you think about the spaces. Tell me this: how many spaces are on each row to the left of the first star? You'll likely be able to solve your own problem if you think about this.