Comparing HTTP and HTTPS URIs
Comparing HTTP and HTTPS URIs
Working with URIs is a regular exercise when we crawl the web. Consequently, comparing HTTP and HTTPS URIs quickly becomes an interesting challenge. Fortunately, .NET has us covered with the Uri.Compare(Uri, Uri, UriComponents, UriFormat, StringComparison) Method
[TestMethod] public void CompareHttpAndHttpsURIsTest() { var http = new Uri("http://www.microsoft.com");…
View On WordPress















