How do I get number of Files from a folder using ASP.NET with C#?
System.IO.Directory myDir = GetMyDirectoryForTheExample(); int count = myDir.GetFiles().Length;