//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