Uri urlnew =new Uri( "http://igrid103:1990");
string split = urlnew.Scheme + Uri.SchemeDelimiter + urlnew.Host+ ":" + uri.Port;
Console.WriteLine(split);
Console.ReadLine();
The Detail of the above code comes below
//urinew.scheme==http
//uri.schemedelimiter=://
//urlnew.Host=igrid103
uri.port=1990;
No comments:
Post a Comment