I have a string ,it gives a source path from a png image ex:
C:\pictures\picture1.png
But I will replace the '\' character to '\ \' (two \ character )with this line :
my data is C:\pictures\picture1.png
public string rep(string data)
{
data.Replace('\','\\');
return data;
}
when I rite data.Replace('\','\') the next characters after '\' comes to description line what can I do I must use the file source so :
C:\\pictures\\picture1.png