Answers for "C# benefits of using Uri"

C#
0

uri authority c#

//Gets the Domain Name System (DNS) host name or IP address and the port number for a server.

Uri baseUri = new Uri("http://www.contoso.com:8080/");
Uri myUri = new Uri(baseUri,"shownew.htm?date=today");

Console.WriteLine(myUri.Authority);
Posted by: Guest on October-19-2020

Code answers related to "C# benefits of using Uri"

C# Answers by Framework

Browse Popular Code Answers by Language