public GVector<GFileInfos> Ls() { String[] files; files = Directory.GetFileSystemEntries(this._directory); int filecount = files.GetUpperBound(0) + 1; GVector<GFileInfos> list = new GVector<GFileInfos>(); int i = 0; while (i < filecount) { GFileInfos f = new GFileInfos(this._directory + "\\" + files[i]); list.PushBack(f); ++i; } return (list); }
public GVector <GFileInfos> Ls() { String[] files; files = Directory.GetFileSystemEntries(this._directory); int filecount = files.GetUpperBound(0) + 1; GVector <GFileInfos> list = new GVector <GFileInfos>(); int i = 0; while (i < filecount) { GFileInfos f = new GFileInfos(this._directory + "\\" + files[i]); list.PushBack(f); ++i; } return(list); }