1-) C# - 61. Captcha Oluşturma
using System;
using System.Windows.Forms;
namespace _61.Captcha_Olusturma
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
string[] sembol1 = { "a", "b", "c", "d", "e", "f", "g" };
string[] sembol2 = { "+", "-", "*", "/", "#" };
Random r = new Random();
int s1, s2, s3;
s1 = r.Next(0, sembol1.Length);
s2 = r.Next(0, sembol2.Length);
s3 = r.Next(0, 10);
label1.Text = sembol1[s1].ToString()+sembol2[s2].ToString()+s3.ToString();
}
}
}
