Interview Questions

Which of these string definitions will prevent escaping on backslashes in C#?

C# Interview Questions and Answers


(Continued from previous question...)

13. Which of these string definitions will prevent escaping on backslashes in C#?

  1. string s = #.n Test string.;
  2. string s = ..n Test string.;
  3. string s = @.n Test string.;
  4. string s = .n Test string.;

(Continued on next question...)

Other Interview Questions