Example #1
0
        /// <summary>
        /// Creates an anonymous <see langword="char"/> value within the range of alpha/numeric characters
        /// using a uniform distribution algorithm.
        /// </summary>
        /// <param name="anon">The anonymous data provider to use.</param>
        /// <returns>A random <see langword="char"/> value.</returns>
        /// <exception cref="ArgumentNullException"><paramref name="anon"/> is <c>null</c>.</exception>
        public static char AnyAlphaNumericChar(this IAnonymousData anon)
        {
            Argument.NotNull(anon, nameof(anon));

            return(anon.AnyAlphaNumericChar(Distribution.Uniform));
        }