public static string AppendDirTag( string sDirName ) { int sLength = sDirName.Length; if ( sDirName[sLength - 1] != '/' ) return sDirName + "/"; else return sDirName; }