string April 13, 2021 How to Replace “\\” with “\” in a string in C# Answer:- var newstring = @"a\\b".Replace(@"\\",@"\"); Piyu.v 0