UriBuilder builder = new UriBuilder("https://www.example.com");
builder.Path = "some/path"; builder.Query = "param1=value1¶m2=value2";
Uri uri = builder.Uri;This builds a URI from the UriBuilder object. This package library is part of the System assembly in the .NET framework.