Untitled

Anonymous
plain_text
11/28/2024 3:42 PM
460 B
17
Indexable
Random rnd = new Random();
string chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
int length = 10;
string randomText = "";

for (int i = 0; i < length; i++)
{
    randomText += chars[rnd.Next(chars.Length)];
}

MacroVariables.Set("randomText", randomText);
MessageBox.Show("Oluşturulan Rastgele Metin: " + randomText);
Editor is loading...
Leave a Comment