KONU : C sharp konsol uygulamalar yıldız ile içi dolu üçgen çizme, c# konsolda içi dolu üçgen
            
 
  
 
UYGULAMAYI İNDİR   
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace C_Sharp_Konsol_Yildiz_İci_Dolu_Ucgen_Ciz
{
    class Ucgen_Cizme
    {
        static void Main(string[] args)
        {
            int kenarUzunlugu;
            Console.WriteLine("Uzunluk : ");
            kenarUzunlugu = Convert.ToInt32(Console.ReadLine());
            int ortaNokta = kenarUzunlugu - 1;
            int taban = kenarUzunlugu * 2 - 1;
            for (int i = 0; i < kenarUzunlugu; i++)
            {
                
                for (int k = 0; k < taban; k++)
                {
                    if ((i + k == ortaNokta || k - i == ortaNokta))
                    {
                        Console.Write("*");
                    }
                    else if ((i + k >= ortaNokta && k - i <= ortaNokta))
                    {
                        Console.Write("*");
                    }
                    else if (i == ortaNokta)
                        Console.Write("*");
                    else
                        Console.Write(" ");
                    
                }
                Console.WriteLine();
            }
            Console.ReadKey();
        }
    }
}
SAMET OĞUZ : 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace üçgen_yapma
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Clear();
            Console.WriteLine("Uzunluk : ");
            int sayi = Convert.ToInt32(Console.ReadLine());
            string resim = "*";
            string bosluk = " ";
            int bos = sayi;
            for (int i = 0; i < sayi; i++)
            {
                Console.WriteLine("{0," + bos + "}" + resim, bosluk);
                resim += "**";
                bos -= 1;
            }
            Console.ReadKey();
        }
    }
}
 
   
int sayac=1;
YanıtlaSilint dus = 10;
for (int i = 0; i < 10; i++)
{
string a = " ";
Console.Write("{0,"+dus+"}",a);
dus--;
for (int c = 0; c < sayac; c++)
{
Console.Write("*");
}
sayac= sayac+2;
Console.WriteLine();
}
Console.ReadKey();
}
using System;
YanıtlaSilusing System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace üçgen_yapma
{
class Program
{
static void Main(string[] args)
{
Console.Clear();
Console.WriteLine("Uzunluk : ");
int sayi = Convert.ToInt32(Console.ReadLine());
string resim = "*";
string bosluk = " ";
int bos = sayi;
for (int i = 0; i < sayi; i++)
{
Console.WriteLine("{0,"+bos+"}"+resim,bosluk);
resim += "**";
bos -= 1;
}
Console.ReadKey();
}
}
}
using System;
YanıtlaSilusing System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace üçgen_yapma
{
class Program
{
static void Main(string[] args)
{
Console.Clear();
Console.WriteLine("Uzunluk : ");
int sayi = Convert.ToInt32(Console.ReadLine());
string resim = "*";
string bosluk = " ";
int bos = sayi;
for (int i = 0; i < sayi; i++)
{
Console.WriteLine("{0,"+bos+"}"+resim,bosluk);
resim += "**";
bos -= 1;
}
Console.ReadKey();
}
}
}