public static string Generate(int length, int requiredSpecialChars)
 {
     var generator = new PasswordGenerator(length, requiredSpecialChars);
     return generator.Next();
 }
        public static string Generate(int length, int requiredSpecialChars)
        {
            var generator = new PasswordGenerator(length, requiredSpecialChars);

            return(generator.Next());
        }