Draw Pyramid in C# in Console

Write a C# Program Which Displays the Pyramid or Triangle. Source Code to Draw Pyramid / Triangle in C# Console Application. This program uses for loops to display pyramid on console.

Source Code:

Output:

The earliest known Egyptian pyramids are found at Saqqara, northwest of Memphis. The earliest among these is the Pyramid of Djoser (constructed 2630 BC–2611 BC) which was built during the third dynasty. This pyramid and its surrounding complex were designed by the architect Imhotep, and are generally considered to be the world’s oldest monumental structures constructed of dressed masonry.

The most famous Egyptian pyramids are those found at Giza, on the outskirts of Cairo. Several of the Giza pyramids are counted among the largest structures ever built. The Pyramid of Khufu at Giza is the largest Egyptian pyramid. It is the only one of the Seven Wonders of the Ancient World still in existence. Wikipedia