how to add " to a string
C#
4
Posts
3
Posters
0
Views
1
Watching
-
Can anyone please teach me how to add " into string, I was writing sql statement and need " in it. Thank you in advance.
string noQuotes = "no quotes"; string hasQuotes = "\"has quotes\"";
-
string noQuotes = "no quotes"; string hasQuotes = "\"has quotes\"";
-
string noQuotes = "no quotes"; string hasQuotes = "\"has quotes\"";
When you create strings special characters require an escape sequence. Any unicode character can be escaped by using \u and the unicode value, \uFEFF is one I am using because of some pdf issue. Newlines are \n tabs are \t a \ is \\.
File Not Found