Answers for "whats the @ before string c#"

C#
3

c# @ before string

//You might have seed @ before strings like this
string str = @"\";
//It stops the string from escaping the \ character
str = "\n";
//str is NewLine character
str = @"\n";
//str is \n
Posted by: Guest on September-24-2021

C# Answers by Framework

Browse Popular Code Answers by Language