我需要用以下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的只有在一串字符串後才更好 –