/// <summary>
        /// Returns true if InputCollectionReplace instances are equal
        /// </summary>
        /// <param name="other">Instance of InputCollectionReplace to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(InputCollectionReplace other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Input == other.Input ||
                     Input != null &&
                     other.Input != null &&
                     Input.SequenceEqual(other.Input)
                     ) &&
                 (
                     Match == other.Match ||
                     Match != null &&
                     Match.Equals(other.Match)
                 ) &&
                 (
                     Replacement == other.Replacement ||
                     Replacement != null &&
                     Replacement.Equals(other.Replacement)
                 ) &&
                 (
                     IgnoreCase == other.IgnoreCase ||

                     IgnoreCase.Equals(other.IgnoreCase)
                 ));
        }