So easy just copy and paste this code...
using System;
namespace PiramidPrint
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter any string: ");
string input = Console.ReadLine();
for (int i = 0; i < input.Length; i++)
{
for (int j = 0; j < i + 1; j++)
{
Console.Write(input[j]);
}
Console.WriteLine();
}
Console.ReadKey();
}
}
}