我需要用以下URL中的值替换“全名”。 “全名”是一个预定义的字符串,它给出了一个动态值。我需要帮助,在C#中如何做到这一点?如何连接C#中的URL中的字符串?
例如听到的全名= XYZ,我想contacte varible
string FullName="Mansinh";
string html = @"<a style=""width:100%%25;height:100%%25"" href=""http://kcs.kayako.com/visitor/index.php?/LiveChat/Chat/Request/_sessionID=34mh1inqnaeliioe3og5tious2t93ip9/_proactive=0/_filterDepartmentID=/_randomNumber=43/_fullName=XYZ/_email=usha%40kcspl.co.in/_promptType=chat"" target=""_blank""> <image style=""width:1340px;height:800px"" src=""/Images/1x1-pixel.png"" /> </a>";
+1提到StringBuilder的只有在一串字符串后才更好 –