Always prefer uribuilder over strings to create uri, as uribuilder has many built-in validations to ensure that the given address is correctly formed. Generally speaking, if you know that your uri will remain constant, you can continue and use the line, but in the case when you will often rearrange your uri by changing / replacing fields, uribuilder is a must!
source share