public override void Delete() { base.Delete(); parent = null; folderData = null; }
public void Delete() { name = null; size = 0; parent = null; }
public Folder(string name, int size, LogicalDisk parent) : base(name, size) { this.parent = parent; }
public File(string name, int size, LogicalDisk parent) { this.name = name; this.parent = parent; this.size = size; }