let's say like
interface IPath { }
class AbsolutePath : IPath {
public strings[] Folders;
public string? Filename;
}
and so on
or it could be more refined
looks like an ordinary FileInfo class 😐
what i have in mind would be something more expressive for paths; fileinfo doesn't have the possibility to explicitly tell what type of path it is (unc, virtual, etc), because they have different properties; also i want it to be just data, methods are in a storage operations class; also i'm not sure it has stuff to manipulate the path (like there's no FileInfo.Directory.Add, or merge paths, or split)
Обсуждают сегодня