c# - Add backslash to string

I have a path and I want to add to it some new sub folder named test. Please help me find out how to do that. My code is :

string path = Environment.GetFolderPath(Environment.SpecialFolder.MyPictures);
 Console.WriteLine(path+"\test");

The result I'm getting is : "c:\Users\My Name\Pictures est"

Please help me find out the right way.

This question and all comments follow the "Attribution Required."

All Answers

Answers Loading...
Leave a Reply
You must be logged in to post a answer.
About the author