PRN221_-_FA_2023_-_RE_1140.webp
G

PRN221_-_FA_2023_-_RE_1140.webp

(35)
(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();
}
A. Compile-time error
B. Default HTTP port: 80
IsBaseOf: True
C. Default HTTP port: 80
IsBaseOf: False
Which one of the following is the output of the above code?
D. An run-time exception will be thrown
}


Thông tin

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

Image metadata

Filename
PRN221_-_FA_2023_-_RE_1140.webp
File size
56.1 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom