C# (Sharp) Programming Language Question:
Download Job Interview Questions and Answers PDF
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.;
Download C# (Sharp) Programming Language Interview Questions And Answers
PDF
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#? |