更新时间:2023-02-26 12:04:54
是的,我建议使用 HttpUtility.ParseQueryString()
Yes I would suggest converting the querystring to a collection by using HttpUtility.ParseQueryString()
然后,您可以直接在集合中查找/添加/更新/替换值,然后从该集合重新创建查询字符串.
You can then find/add/update/replace values directly in the collection, before re-creating the querystring from this collection.
这应该可以更容易地发现重复项.
This should make it easier to spot duplicates.