Ejemplo n.º 1
0
 private Path MakeSlashedPath(Path path)
 {
     // Make sure that the path is ended bith '\'
     int index = path.IndexOf(':');
     if ((index != -1) && ((index + 1) == path.Length))
     {
         path += '\\';
     }
     return path;
 }