This question shows research effort; it is useful and clear
2
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
在代码Uri.TryCreate(link, UriKind.Absolute, out testurl)中,测试链接是否有效并为其提供一个 Uri 对象。然后我应该使用原始的string link还是string testurl.AbsoluteUri?因为在代码执行后两者似乎都具有相同的字符串值。