adding quotation marks to a string?

  • Thread starter Thread starter vince
  • Start date Start date
V

vince

need to create a string with embedded quotation marks,
like

string str1 = " they said "go away" ";

How can this be done?

Thanks,

vince
 
string str1 = " they said \"go away\" ";

or

string str1 = @" they said ""go away"" ";

Joe
 
Back
Top