Example #1
0
        /*Will test incoming user input against a requirement it must meet in order to be valid
         * This will return true if the current value in the password variable matches the user input
         * in order to ensure that the passwords entered match*/
        public override bool IsValid()

        {
            if (validated.GetValue() == vPass.GetValue())
            {
                return(validated.IsValid());
            }
            return(false);
        }