Hi
I am trying to look for a more effecient, better way of doing this.
Let's say we have a directory, in this directory there are various directories.
Now, most of the directories will be a numeric/integer named directory ie:
1
2
3
65
etc...
however this directory may also contain non integer/numeric names (such as "test" or "h3ll0" etc...)
What I want to do is to obtain a list of ONLY the integer directory name.
Of course, I could use a for each on each directory name and check to see if the current Char in the current directory name is a digit/numeric or not but that i do not think is the most efficient way as there maybe several hundred directories therefore it will have some performance degration if using a Char.IsDigit/IsNumeric method.
What is the best way?
