Component Interface (IFileSystemComponent):?
- Both File and Directory implement the IFileSystemComponent
interface, which defines the common method ShowInfo(). This allows us to
treat both files and directories uniformly.
interface, which defines the common method ShowInfo(). This allows us to
treat both files and directories uniformly.