public boolean mkdirs() {if (exists()) {return false;}if (mkdir()) {return true;}String parentDir = getParent();if (parentDir == null) {return false;}return (new File(parentDir).mkdirs() && mkdir());}

public bool mkdirs(){if (exists()){return false;}if (mkdir()){return true;}string parentDir = getParent();if (parentDir == null){return false;}return (new java.io.File(parentDir).mkdirs() && mkdir());}
