Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

C# Programmation Réseau: Obtenir URL Absolue

 
 
 
using System;
public class MainClass{
   public static void Main(){
 
        Uri baseUri = new Uri("http://www.yourDomain.com/");
        Uri myUri = new Uri(baseUri, "catalog/shownew.htm?date=today");
        
        Console.WriteLine(myUri.AbsolutePath);
   
    }
}
 
   
  

No comments yet.

Leave a Comment