public override string ToString()
 {
     if (Parent != this)
     {
         if (!IsRoot)
         {
             return(Parent.ToString() + DirectoryName + "/");
         }
         else
         {
             return("/");
         }
     }
     else
     {
         return(DirectoryName);
     }
 }
Пример #2
0
		public override string ToString()
		{
			return Parent.ToString() + FileName;
		}