This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static void Main(string[] args) | |
| { | |
| int year = DateTime.Today.Year; | |
| int gunSayisi = 0; | |
| Console.WriteLine("Artık yıl aranıyor......"); | |
| Console.WriteLine(); | |
| for (int i = 0; i < 20; i++) | |
| { | |
| gunSayisi = DateTime.DaysInMonth(year, 02); | |
| if (gunSayisi == 29) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static void Main(string[] args) | |
| { | |
| int sayac = 0; | |
| for (int sayi = 2; sayi <= 100; sayi++) | |
| { | |
| int status = 0; | |
| for (int i = 2; i < sayi; i++) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void btnEkle_Click(object sender, EventArgs e) | |
| { | |
| var Index = txtName.Text.LastIndexOf(" "); | |
| var str = ""; | |
| var Flag = true; | |
| for (int i = 0; i < txtName.Text.Length; i++) | |
| { | |
| if (Flag) | |
| { | |
| str += txtName.Text[i].ToString().ToUpper(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void button1_Click(object sender, EventArgs e) | |
| { | |
| Random newsNumber = new Random(); | |
| var Number = newsNumber.Next(000000, 999999); | |
| string[] TR = new string[] { "Ş", "Ç", "Ö", "Ü", "İ", "ş", "ç", "ı", "ö", "ü" }; | |
| string[] ING = new string[] { "S", "C", "O", "U", "I", "s", "c", "i", "o", "u" }; | |
| var category = txtName.Text.ToLower(); | |
| var str = rtbNews.Text.Replace("'", "").Replace(":", "").Replace("\n", " ").ToLower().Replace(" ", "-"); | |
| for (int j = 0; j < TR.Length; j++) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class oyleBirSey | |
| { | |
| public int ControlCount; | |
| static oyleBirSey birSey; | |
| public static oyleBirSey Birsey | |
| { | |
| get |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public Form1() | |
| { | |
| InitializeComponent(); | |
| pColor = new Queue<Color>(); | |
| PrepareColor(); | |
| } | |
| public Queue<Color> pColor { get; set; } | |
| public List<Color> lColor = new List<Color> { Color.OrangeRed, Color.Aqua, Color.LightCoral, Color.MediumPurple, Color.Chartreuse, Color.Yellow }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static int max_basamak = 30; | |
| static string[] birler = { "", "Bir", "İki", "Üç", "Dört", "Beş", "Altı", "Yedi", "Sekiz", "Dokuz" }; | |
| static string[] onlar = { "", "On", "Yirmi", "Otuz", "Kırk", "Elli", "Altmış", "Yetmiş", "Seksen", "Doksan" }; | |
| static string[] binler = { "", "Septilyon", "Sekstilyon", "Kentilyon", "Katrilyon", "Trilyon", "Milyar", "Milyon", "Bin", "" }; | |
| static int[] basamak = new int[3]; | |
| static string SayiToYazi(string sayi) | |
| { | |
| string yaziyla = ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void btnCevir_Click(object sender, EventArgs e) | |
| { | |
| lblYazi.Text = Yaziyla(Convert.ToDouble(txtNumber.Text)); | |
| } | |
| static string frNumToStr2(Double Sayi) | |
| { | |
| string[] birler = { "", "BİR", "İKİ", "ÜÇ", "DÖRT", "BEŞ", "ALTI", "YEDİ", "SEKİZ", "DOKUZ" }; | |
| string[] onlar = { "", "ON", "YİRMİ", "OTUZ", "KIRK", "ELLİ", "ALTMIŞ", "YETMİŞ", "SEKSEN", "DOKSAN" }; | |
| string[] katlar = {"", "YÜZ", "BİN", "MİLYON", "MİLYAR", "TRİLYON", "KATRİLYON" }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public List<string> list = new List<string>(); | |
| public int i = 0; | |
| private void txtCopy_KeyDown(object sender, KeyEventArgs e) | |
| { | |
| if (e.Control && e.KeyCode == Keys.C) | |
| { | |
| if ((!string.IsNullOrEmpty(txtCopy.Text)) && (!list.Contains(txtCopy.Text))) | |
| list.Add(txtCopy.Text); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public Queue<string> liste = new Queue<string>(); | |
| private void txtCopy_KeyDown(object sender, KeyEventArgs e) | |
| { | |
| if (e.Control && e.KeyCode == Keys.C) | |
| { | |
| if ((!string.IsNullOrEmpty(txtCopy.Text)) && (!liste.Contains(txtCopy.Text))) | |
| { | |
| liste.Enqueue(txtCopy.Text); | |
| } |
OlderNewer