Answer (Choose 1 answer)
class Program{
static void Main(string[] args){
Uri info = new Uri("
http://www.mystore.com:80/info?id=100#fragment");Uri page = new Uri("
http://www.mystore.com/info/page.html");Uri relative = info. MakeRelativeUri(page);Console.WriteLine($"IsAbsolute Uri: (relative.IsAbsoluteUri}");Console.WriteLine(S"RelativeUri: {relative.ToString()}");Console.ReadKey();
}
Which one of the following is the output of the above code?
A. IsAbsoluteUri: False
RelativeUri: info/page.html
B. IsAbsoluteUri: True
RelativeUri: info/page.html
C. IsAbsoluteUri: False
RelativeUri: page.html
D. IsAbsoluteUri: True
RelativeUri: info.html
Exit 39