replace bar csharp

Code Example - replace bar csharp

                
                        myString= myString.Replace(@"\","-");