C# (Sharp) Programming Language Question:
Which of these string definitions will prevent escaping on backslashes in C#?
Answer:
1. string s = #.n Test string.;
2. string s = ..n Test string.;
3. string s = @.n Test string.;
4. string s = .n Test string.;
2. string s = ..n Test string.;
3. string s = @.n Test string.;
4. string s = .n Test string.;
Previous Question | Next Question |
The C# keyword .int. maps to which .NET type? | Which of these statements correctly declares a two-dimensional array in C#? |