private string ReverseGeocodingQuery(ReverseGeocodingRequest request, string googleMapsAPIKey) { UriBuilder builder = new UriBuilder(baseUrl); builder.Port = -1; string coordinatesQuery = $"latlng={request.lat},{request.lng}"; string apiKeyQuery = $"&key={googleMapsAPIKey}"; builder.Query += coordinatesQuery; builder.Query += apiKeyQuery; return(builder.ToString()); }