/// <summary>
        /// Converts a dictionary object to a query string representation such as:
        /// firstname=shannon&lastname=deminick
        /// </summary>
        /// <param name="items"></param>
        /// <param name="keysToIgnore">Any keys found in this collection will be removed from the output</param>
        /// <returns></returns>
        public static string ToQueryString(this FormCollection items, params string[] keysToIgnore)
        {
            if (items == null)
            {
                return("");
            }
            if (items.Any() == false)
            {
                return("");
            }

            var builder = new StringBuilder();

            foreach (var(key, value) in items.Where(i => keysToIgnore.InvariantContains(i.Key) == false))
            {
                builder.Append($"{key}={value}&");
            }
            return(builder.ToString().TrimEnd(Constants.CharArrays.Ampersand));
        }
 /// <summary>
 /// Checks if the collection contains the key
 /// </summary>
 /// <param name="items"></param>
 /// <param name="key"></param>
 /// <returns></returns>
 public static bool HasKey(this FormCollection items, string key)
 {
     return(items.Any(x => x.Key.InvariantEquals(key)));
 }