I'm referring to the syntax for writing strings in code, including multiline strings and verbatim strings.
(Context: I'm working on a tool that scans code, and it's important to determine when tokens are inside a string.)
Thanks!
I'm referring to the syntax for writing strings in code, including multiline strings and verbatim strings.
(Context: I'm working on a tool that scans code, and it's important to determine when tokens are inside a string.)
Thanks!
basic syntax is same
string csharp; // C#
string cPlusPlus; // C++
see following for better insight
string class (C++) and string class (C#)
Here's a quick breakdown between languages
@"
and do not support character escape sequences (with the exception of "" which designates a single "). They can span multiple lines and all whitespace is significant