aaaaaaaaaaaaaaaaa
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
int a, b;
for (a = 0; a <= 5; a++)
{ //when this loop looping 1 time, and 'a' value is 1 the, another loop
for (b = 0; b <= a; b++) //looping 1 time and printing * and going
{ //to new line and the first loop looping 2 time the 'a' value is
Console.Write("*"); //2 the second loop looping 2 time and
} //printing ** and so on, second loop looping from 0 to 'a' value.
Console.WriteLine(); //this line used for new line.
}
Console.ReadKey();
}
}
}