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; namespace anahtarli_metin_sifreleme { public partial class Form1 : Form { public Form1 private void btnSifrele_Click { string metin = textBox1. Text; string anahtar = textBox3. Text; //www.gorselprogramlama.com string sifreli_metin = &quot;&quot;; int j = 0; //Metni karakter karakter sonuna kadar tara. for (int k = 0; k &lt;= metin. Length - 1; k++) textBox2. Text = sifreli_metin; } private void btnSifreCoz_Click { string sifreli_metin = textBox1. Text; string anahtar = textBox3. Text; string metin = &quot;&quot;; int kod = 0; //www.gorselprogramlama.com int j = 0; for (int k = 0; k &lt;= sifreli_metin. Length - 1; k++) textBox2. Text = metin; //www.gorselprogramlama.com } } } kaynak