?
Solved

c# File System method - GetFolderFileCount()

Posted on 2008-06-26
3
Medium Priority
?
233 Views
Last Modified: 2010-04-15
Greetings:

I'm hoping to get code and supporting namespace that will execute the following routine:

GetFolderFileCount()

For example:

using ??

void CheckFileCount()
{
...                                    // necessary variables like 'string FilePath'
GetFolderFileCount()      // correct call
return;
}

Thanks
0
Comment
Question by:John500
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Accepted Solution

by:
Bruce_1975 earned 1000 total points
ID: 21876505
System.IO.Directory.GetFiles(string);  returns a list of all files

Regards,
Bruce
0
 
LVL 16

Assisted Solution

by:burakiewicz
burakiewicz earned 1000 total points
ID: 21876518
System.IO;

Directory.GetFiles(strPath).Length
0
 

Author Comment

by:John500
ID: 21883028
Thanks for the help!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question