[CSHARP] string Random() { List<string> list = new List<string>(); string[] strs = { "123456789", "abcdefghijklmnopqrstuvwxyz" }; foreach (string s in strs) { char[] a = s.ToCharArray(); foreach (char ch in a) { list.Add(ch.ToString()); } } list = list.OrderBy(n => (Guid.NewGuid())).ToList<string>(); string res = ""; foreach (string s in list) { res += s; } return res; }

[/CSHARP]