Folder browsing

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Jonathan Dixon (jon6_at_ukonline.co.uk)
Date: 07/05/04


Date: Mon, 5 Jul 2004 13:26:41 +0100

I am using this code to get a list of folders and files

System.IO.DirectoryInfo didocs1=new
System.IO.DirectoryInfo("C:\\Shearings\\" + jonn + "\\" + folder);

I was wondering if there was a way to determine if the the folder had any
files or subfolders within it or whether it is empty

Thanks

Jon