c# - Parse from a list with a quote in text -
I want to put these stars in a list, how can I do this? Hold-up is double ""
, found in the first two rows. How can I work around this?
scriptTxt = new string [] {"# $ language =" VBScript "", "# $ interface =" 1.0 "", "crt.Screen.Synchronous = true", "sub-head "};
scriptTxt = new string [] {"# $ language = \" VBScript \ "", "# $ interface = \" 1.0 \ "", crt.Screen.Synchronous = True "," Sub Main "};
or
scriptTxt = new string [] {@ "# $ language =" "VBScript", @ "# $ interface =" "1.0" "", "CRT screen. Synchronous = true", "sub-main"} ;
Comments
Post a Comment