Path.Combine for URLs? (ASP.NET)

Closed
iamsaanvi
Posts
1
Registration date
Tuesday September 26, 2017
Status
Member
Last seen
September 26, 2017
- Updated on Sep 28, 2017 at 03:16 AM
Path.Combine is handy, but is there a similar function in the .NET framework for URLs?

I'm looking for syntax like this:

Url.Combine("http://MyUrl.com/", "/Images/Image.jpg")
which would return:

"http://MyUrl.com/Images/Image.jpg"

Thank you
Saanvi S
ASP.NET trainer at mindmajix