Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# string across multiple lines

// You can use the @ symbol in front of a string to form a verbatim string literal:
string query = @"SELECT foo, bar
FROM table
WHERE id = 42";
// You also do not have to escape special characters when you use this method, 
// except for double quotes E.g. 
"A quote: ""Hi""."
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #multiple #lines
ADD COMMENT
Topic
Name
5+1 =