fork(106) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. Uri uriAddress = new Uri("http://w...content-available-to-author-only...o.com/index.htm#search");
  8. Console.WriteLine("The path of this Uri is {0}", uriAddress.GetLeftPart(UriPartial.Authority));
  9. }
  10. }
Success #stdin #stdout 0.08s 34112KB
stdin
Standard input is empty
stdout
The path of this Uri is http://w...content-available-to-author-only...o.com