How to remove the port number from a url string

前端 未结 8 716
清酒与你
清酒与你 2021-02-02 04:57

I have the following code snippet:

string tmp = String.Format(\"

        
8条回答
  •  孤城傲影
    2021-02-02 05:47

    You can also use the properties of URIBuilder for this, it has properties for outputting an url the way you want

提交回复
热议问题