Hi,
How can i [B]count of Selection file in the C#.net?[/B] .
[B]For Example :[/B]
In my project ,I am using [B]"RegEdit"[/B] ,that means Windows Registry.
1) User could select a File/Files from any folders
2) Click on the File.User could view the [B]Count of selection of file in the Folder[/B]
Please Help me.
Count of selection files in the Folder using C#.net
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Abdullah Munshi51 reputationPosted Jan 22, 2012, 11:47 PM EST
using System.IO;
=======================
FileInfo[] f;
DirectoryInfo dinfo = new DirectoryInfo("E:");
f = dinfo.GetFiles();
f.Count().ToString();
Lakshmi Narayanan11 reputationPosted Jan 23, 2012, 12:37 AM EST
Thanks for your reply . Please read my question Once again .