What do you want to save?
Add Code snippet
New code examples
-
C# 2021-09-16 17:53:02
generate random string C#
private static Random random = new Random(); public static string RandomString(int length) { const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; return new string(Enumerable.Repeat(chars, length) .Select(s => s[random.N... Add solution