Path.Combine for URLs? (ASP.NET) [Closed]
iamsaanvi
1
Posts
Tuesday September 26, 2017Registration date
September 26, 2017
Last seen
-
Sep 26, 2017 at 05:32 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
See more