Q31_241_20240331125933.jpg
Misa

Q31_241_20240331125933.jpg

  • Media owner Misa
  • Ngày thêm
}
(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: False
B. Compile-time error
C. An run-time exception will be thrown
D. Default HTTP port: 80
IsBaseOf: True
Rsh
Q: 31

Thông tin

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

Image metadata

Filename
Q31_241_20240331125933.webp
File size
199.5 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên