A
almurph
Hi,
Can you help me please?
I know how to get a list of subdirectories under a directory as
follows:
string[] subDirs = Directory.GetDirectories(somePath);
but I do not know how to order them by size. I know there is an
OrderBy() method or something under this but I don't understand it. I
think it uses linq or something.
Can you help me please? Would greatly appreciate any comments/
suggestions/code-samples that you may be able to offer.
Thank you,
Al.
Can you help me please?
I know how to get a list of subdirectories under a directory as
follows:
string[] subDirs = Directory.GetDirectories(somePath);
but I do not know how to order them by size. I know there is an
OrderBy() method or something under this but I don't understand it. I
think it uses linq or something.
Can you help me please? Would greatly appreciate any comments/
suggestions/code-samples that you may be able to offer.
Thank you,
Al.