Reputation: 11
i want to set the text of a textbox to a c++ code on button click.
i've tried using
textBox1.Text = "c++ code here";
but it gives errors because the code is in c#.
Upvotes: 0
Views: 380
Reputation: 2345
You need to manually escape characters like ".
TextBox1.Text = "some code here \"test\" hello...";
Upvotes: 1