PRN221_-_SU_2024_-_Block_5_-_FE_2668.webp
pure_pearl

PRN221_-_SU_2024_-_Block_5_-_FE_2668.webp

Kizspy | Question: 38 (Choose 1 answer)
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?
A. Default HTTP port: 80 IsBaseOf: True
B. Default HTTP port: 80 IsBaseOf: False
C. Compile-time error
D. An run-time exception will be thrown

Thông tin

Category
PRN221
Thêm bởi
pure_pearl
Ngày thêm
Lượt xem
1,271
Lượt bình luận
3
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom