(Choose 1 answer)
A. Compile-time error
B. An run-time exception will be thrown
C. Default HTTP port: 80
IsBaseOf: False
D. Default HTTP port: 80
IsBaseOf: True
Exit (18
class Program{
static void Main(string[] args){
Uri info = new Uri("
http://www.domain.com:80/info?id=123#fragment");Uri page = new Uri("
http://www.domain.com/info/page.html");Console.WriteLine($"Default HTTP port: {page. Port}");Console.WriteLine($"IsBaseOf: {info.IsBaseOf(page)}");}
Console.ReadKey();
}
Which one of the following is the output of the above code?