Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
默认Uri.Equals()方法仅忽略用户信息 ( UserInfo) 和片段 ( Fragment)。
Uri.Equals()
UserInfo
Fragment
是否有任何方法可以比较相等并忽略Query?
Query
Uri.CompareUriComponents允许您通过传入一个值来指定哪些部分应参与比较。
Uri.Compare
UriComponents