Sometimes it could be
C#
C:\\Users\\Mammamia\\Videos\\Documents\\CFD\\geo_msh\\cubeOp.txtC#
ORC#
C:\Users\Mammamia\Videos\Documents\CFD\geo_msh\cubeOp.txtC#
When we want to use this and why you want to do that ?C:\\Users\\Mammamia\\Videos\\Documents\\CFD\\geo_msh\\cubeOp.txtORC:\Users\Mammamia\Videos\Documents\CFD\geo_msh\cubeOp.txtWhen we want to use this and why you want to do that ?Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Nov 14, 2013, 4:21 AM EST
As far as C# is concerned, if the file path is included in a string, then you need to double all the backslashes or precede the string with @. This is because \ is used as an escape character as in \n, \t etc. So you need to double it if you're using it with its 'natural' meaning.
Posted Nov 14, 2013, 9:50 AM EST
When you writing any path in C# then you can write single slash for that you need to place @ symbol before your path e.g.
string strPath=@"C:\Users\Mammamia\Videos\Documents\CFD\geo_msh\cubeOp.txt";
if you got the answer then please like it.
Thanks