View Single Post
Old Dec 6th, 2005, 1:03 AM   #5
lectricpharaoh
SEXY SHOELESS GOD OF WAR!
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,183
Rep Power: 5 lectricpharaoh will become famous soon enough
You might also want to consider a dynamically-sized container of some sort, rather than an array. Fixed-sized allocations aren't the best structure for this sort of thing. I'm not sure, but it's quite possible there's already a .NET class designed for storing directory trees; there's also things like the TreeView control which you can populate with the results, depending on how you want to display things. Personally, I like having a hierarchical view in file managers; it's why I replaced the stock one on my PocketPC with a third-party one.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote