-
1.
-1okulda kod transferi
using System;
using System. Collections.Generic;
using System. ComponentModel;
using System. Data;
using System. Drawing;
using System. Linq;
using System. Text;
using System. Windows.Forms;
using System. Collections;
namespace WindowsFormsApplication26
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Hashtable yas = new Hashtable();
yas["salih"] = 32;
yas["abdullah"] = 11;
yas["hüseyin"] = 25;
yas["murtaZaa"] = 28;
yas.Add("first", 4);
label1.Text = yas. Count.ToString();
foreach (DictionaryEntry element in yas)
{
string ad = (string)element.Key;
int yasi = (int)element. Value;
listBox1.Items.Add("Ad" + ad + "Yaşı" + yasi);
}
}
}
} -
2.
+1{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
Hashtable htablo = new Hashtable();
private void ekle_Click(object sender, EventArgs e)
{
htablo.Add(textBox1.Text, textBox2.Text);
}
private void listboxGoster_Click(object sender, EventArgs e)
{
listBox1.Items. Clear();
foreach (DictionaryEntry i in htablo)
{
listBox1.Items.Add("Key: " +i.Key+" value: " +i.Value);
}
}
private void kontrol_Click(object sender, EventArgs e)
{
label3.Text = htablo. ContainsKey(textBox3.Text).ToString();
}
}
} -
3.
+1using System;
using System. Collections.Generic;
using System. ComponentModel;
using System. Data;
using System. Drawing;
using System. Linq;
using System. Text;
using System. Windows.Forms;
using System. Collections;
namespace sortedlist_sinifi
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
SortedList sListe = new SortedList();
private void sorgula_Click(object sender, EventArgs e)
{
textBox2.Text = sListe[textBox1.Text].ToString();
}
private void Form1_Load(object sender, EventArgs e)
{
sListe.Add("01", "ADANA");
sListe.Add("02", "ADIYAMAN");
sListe.Add("03", "AFYON");
sListe.Add("04", "AĞRI");
sListe.Add("05", "AMASYA");
sListe.Add("06", "ANKARA");
sListe.Add("07", "ANTALYA");
sListe.Add("08", "ARTViN");
sListe.Add("09", "AYDIN");
}
}
} -
4.
0using System;
using System. Collections.Generic;
using System. ComponentModel;
using System. Data;
using System. Drawing;
using System. Linq;
using System. Text;
using System. Windows.Forms;
namespace WindowsFormsApplication25
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
listBox1.Items. Clear();
int[] veri = new int[10];
Random rnd = new Random();
foreach (int i in veri)
{
veri[i] = rnd. Next(1, 20);
listBox1.Items.Add(veri[i]);
}
}
}
} -
5.
+1sağol mübarek
-
6.
0
-
gran torino çok iyi bi yazardı
-
ccc rammstein ccc günaydın diler 27 04 2025
-
bu akşama özel baycerrahın anasından kampannnya
-
allah mehdiye güç kuvvet para vermesi gerekirken
-
erasmusa gitmiş türk kızı
-
gece parkta oturup sigara içmek
-
popomu kaşıyıp kokluyorum
-
anneler gibi kutsal varlık yoktur
-
utangaç akpli ne demek olum
-
bellingham ve rudiger denen gelenev
-
sirkannnnnn nirdesin 1000
-
vinovat li ya nasılsınn reyik
-
begibtas civari gotten yemek isteyen mesaj
-
chp iktidar olursa ülke geneleve döner
-
uyuyamıyor musunuz anime açın
-
olm hazır isiniz yoksa
-
takim sporu bana gore degil abi
-
napcaz be konstant amca
-
sevgili fatih usludur
-
ayrılıkçı katalanları destekliyorum
-
az önce instadaa
-
ağlamamak gerek
-
kadınlar hariç her canlıyla empati kurabiliyorum
-
bugün çarşıya indim babalar ufak bir işim çıkmıştı
-
sagopa dinleyen erkek geydir
-
sıfırına gücümüz yetmiyor mecbur ikinci el alıcaz
-
isinebakdost indirsene
-
allahin adaleti cok zor baba
-
sevdiğim kadınla yatmak istemem
-
cımbız ile 31 çeken erkek
- / 2