url转义
var address = "http://www.cnblog.com"; var a22 = Uri.EscapeDataString(address); var a33 = Uri.UnescapeDataString(a22);