如何把这段html代码弄成C#的字符形?
<span class= "black14 " id= "mb ">
把上面的这段html代码写成字符型的.因为我要用到一个类,而这个类有一个字符型参数(int N,string strhtml int N). 把strhtml写成 " <span class= "black14 " id= "mb "> ",很明显是不行的,那我应该怎么写呢?谢谢!
------解决方案--------------------string strhtml=@ " <span class= " "black14 " " id= " "mb " "> ";
------解决方案--------------------string theHtml= " <span class=\ "black14\ " id=\ "mb\ "> ";