开发者

how can i set the text of a textbox to a c++ code

i want to set the text of a textbox to a c++ code on button click.

i've tried using

textBox1.Text 开发者_JAVA百科= "c++ code here";

but it gives errors because the code is in c#.


You need to manually escape characters like ".

TextBox1.Text = "some code here \"test\" hello...";
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜