---
title: "How to Print Alphabet Triangle in C# ?"  
description: "How to Print Alphabet Triangle in C# ?"  
author: "Gurmeet Kaur"  
published: 2018-09-05  
canonical: https://answers.mindstick.com/qa/49637/how-to-print-alphabet-triangle-in-c-sharp  
category: "technology"  
reading_time: 2 minutes  

---

# How to Print Alphabet Triangle in C# ?

## Answers

### Answer by Sanat Shukla

```
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication2
{
    class Program
    {
        public static void Main(string[] args)
        {
            char ch = 'A';
            int i, j, k, m;
            for (i = 1; i <= 7; i++)
            {
                for (j = 5; j >= i; j--)
                    Console.Write(" ");
                for (k = 1; k <= i; k++)
                    Console.Write(ch++);
                ch--;
                for (m = 1; m < i; m++)
                    Console.Write(--ch);
                Console.Write("\n");
                ch = 'A';
            }
            Console.ReadLine();
        }
    }
}
```

![How to Print Alphabet Triangle in C# ?](https://answers.mindstick.com/questionanswer/ab493502-aa4e-4144-a028-00d1acd9c8c7/images/232b42cb-ce8d-451f-8dc3-017712793c88.png)\

\


---

Original Source: https://answers.mindstick.com/qa/49637/how-to-print-alphabet-triangle-in-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
