C# .NET - Code to find particular text from selected folder.

Asked By sai25 patil on 17-Aug-13 10:21 AM
I have a one folder,after browse and opening that folder i want to find particular text from entire folder.
Folder contains more than one file.

Thanks.
Robbe Morris replied to sai25 patil on 17-Aug-13 11:21 AM
You'll want to use the System.IO namespace to iterate the folders and read the text files.

https://www.nullskull.com/a/747/net-systemio-read-and-write-files-compared-to-scriptingfilesystemobject.aspx