private void Form1_Load(object sender, EventArgs e) { EncryptionClass encryption = new EncryptionClass(); for (int i = 0; i < c.Length; i++) { for (int j = 1; j < 6; j++) { s = encryption.RandomString(5, true); dictCoord.Add(c[i] + j.ToString(), s); } } foreach (KeyValuePair <string, string> item in dictCoord) { textBox1.Text += item.Key + " = " + item.Value + "\r\n"; } }
private string GenerateCode() { string code; return(code = encrypt.RandomString(12, false)); }