/// <summary> /// Get the relative path to another file. /// </summary> /// <param name="to">The target file path.</param> /// <returns>A <see cref="FilePath"/>.</returns> public FilePath GetRelativePath(FilePath to) { return(GetDirectory().GetRelativePath(to)); }