Shibli - 1 year ago 108
C# Question

Full path with double backslash (C#)

Is it possible to get a full path with double backslash by using

`Path.GetFullPath`
? Something like this:

``````C:\\Users\\Mammamia\\Videos\\Documents\\CFD\\geo_msh\\cubeOp.txt
``````

``````C:\Users\Mammamia\Videos\Documents\CFD\geo_msh\cubeOp.txt
``````

Or is there any other method?

``````Path.GetFullPath(path).Replace(@"\", @"\\");