Check out example codes for "uri authority c#". It will help you in understanding the concepts better.

Code Example 1

//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);

Learn ReactJs, React Native from akashmittal.com