PRN221_-_FE_-_SU_2023_506.webp
K

PRN221_-_FE_-_SU_2023_506.webp

Answer (Choose 1 answer)

6
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
Kokichi20051
Ngày thêm
Lượt xem
1,485
Lượt bình luận
6
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN221_-_FE_-_SU_2023_506.webp
File size
72.3 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom