vb System.Uri.GetHashCode类(方法)实例源码

下面列出了vb System.Uri.GetHashCode 类(方法)源码代码实例,从而了解它的用法。

作者:VB.NET开发    项目:Syste   
' Create Uri
Dim uriAddress As New Uri("http://www.contoso.com/index.htm#search")
Console.WriteLine(uriAddress.Fragment)
Console.WriteLine("Uri {0} the default port ", If(uriAddress.IsDefaultPort, "uses", "does not use")) 

Console.WriteLine("The path of this Uri is {0}", uriAddress.GetLeftPart(UriPartial.Path))
Console.WriteLine("Hash code {0}", uriAddress.GetHashCode())


问题


面经


文章

微信
公众号

扫码关注公众号