Format:
Recent snippets matching tags of AlphaNumeric
public static string RandomAlphaNumeric(int digits) { Random random = new Random(); byte[] buffer = new byte[digits / 2]; random.NextBytes(buffer); string result = String.Concat( buffer.Select(x => x.ToString("X2")).ToArray()); if (digits % 2 == 0) { return result;
292 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
