(In order to Enlarge images Please Right Click and Open images in New Tab).
Let’s see how to replace “\” with “_” in string in c#.net
Since it’s not straight forward by using String.Replace method.
So let’s take move ahead with it
suppose your string item is like that
now use below code