I use C#.
I need assign a value to a string as verbatim.
Here my code:
string verbatim = "@<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">";
or
string verbatim = @"<META NAME=""ROBOTS"" CONTENT=""NOINDEX, NOFOLLOW"">";
But it does not work.
What I’m doing wrong here? Thanks
You mean a verbatim string literal? Double-up the internal quotes and move the
@: