I want to replace the string which has \ character in it but is giving me error Newline in constant
How can I do this , Here is my code
string mystring = "Lines xmlns:a=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\";
string tobeReplaced = "Lines xmlns:a=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\";
var newString = mystring.Replace(tobeReplaced, "Lines");