Tôi đang theo dõi this tutorial từ MSDN.@ "../ .." có nghĩa là gì trong một đường dẫn?
Có điều gì đó tôi thấy trong các mã mà tôi không thể hiểu
private void PopulateTreeView()
{
TreeNode rootNode;
DirectoryInfo info = new DirectoryInfo(@"../.."); // <- What does @"../.." mean?
if (info.Exists)
{
rootNode = new TreeNode(info.Name);
rootNode.Tag = info;
GetDirectories(info.GetDirectories(), rootNode);
treeView1.Nodes.Add(rootNode);
}
}
http://msdn.microsoft.com/en-us/library/aa691090(v=vs.71).aspx – zerkms
có thể trùng lặp của [Có gì @ ở trước một chuỗi trong C#?] (Http://stackoverflow.com/questions/556133/whats-the-in-front-of-a-string-in-c) –