I'm looking for a way to place quotes within quotes and after constantly looking at it, I can't find the answer. So I thought the best approach would be to ask someone smarter than me.
int intYear = "2007"
string str = "He yelled " + intYear.ToString() + " at the top of his voice.";
This doesn't work for me because it prints out:
He yelled 2007 at the top of his voice.
I need the string to look like this:
He yelled "2007" at the top of his voice.
int intYear = "2007"
string str = "He yelled " + intYear.ToString() + " at the top of his voice.";
This doesn't work for me because it prints out:
He yelled 2007 at the top of his voice.
I need the string to look like this:
He yelled "2007" at the top of his voice.