How to print a given Pyramid structure in C#
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
C#
🤖 Code Explanation
This code draws a pyramid using asterisks.
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
More problems solved in C#
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
![](https://cdn-icons-png.flaticon.com/512/6132/6132221.png)
This code draws a pyramid using asterisks.
Download SpellBox today Download SpellBox for macOS, Windows and VS Code today. Solve any programming or engineering problem with A.I.