Catch and Continue
I want an extension method or generic method where I want code execution to continue even there is some exception and keep recording the exceptions in a list. This is an example what I tried

        public void ValidateName()
        {
            if (_customer.Name.Length < 5)
                throw new Exception("shortname");
        }
        public void ValidateAge()
        {
            if (_customer.Age < 5)
                throw new Exception("short age");
       }
        internal void Validate()
        {
            this.CatchAndContinue(delegate()
            {
                this.ValidateName(); // throws exception and add to list
                this.ValidateAge(); // but this should also execute
            });
        }
        public void CatchAndContinue(Action action)
        {
            try
            {
                action();
            }
            catch (Exception ex)
            {
                exceptions.Add(ex);
            }
        }

For current class I can pass exceptions to ValidateName and ValidateAge method, but I want if we can do the way I want, with little change in validate() method body. I know semantically it sounds weired but I need lot of places to do this. Or if there is something better to achieve it
Catch and Continue
===

I want an extension method or generic method where I want code execution to continue even there is some exception and keep recording the exceptions in a list. This is an example what I tried

        public void ValidateName()
        {
            if (_customer.Name.Length < 5)
                throw new Exception("shortname");
        }
        public void ValidateAge()
        {
            if (_customer.Age < 5)
                throw new Exception("short age");
       }
        internal void Validate()
        {
            this.CatchAndContinue(delegate()
            {
                this.ValidateName(); // throws exception and add to list
                this.ValidateAge(); // but this should also execute
            });
        }
        public void CatchAndContinue(Action action)
        {
            try
            {
                action();
            }
            catch (Exception ex)
            {
                exceptions.Add(ex);
            }
        }

For current class I can pass exceptions to ValidateName and ValidateAge method, but I want if we can do the way I want, with little change in validate() method body. I know semantically it sounds weired but I need lot of places to do this. Or if there is something better to achieve it