C# FolderHelper Class

This is another class for folder management.

FolderHelper Class

Posted by admin on Oct 4 2008 in Helper Classes

C# FileHelper Class

While programming the same things over and over again, things can become really boring, and based on my flash memory I always have to press F1 to even do simple things like reading a file from disk or writing data to files.

Since I work on almost 5-6 different project a year, there is always need for file processing and file manuplation kind of stuff and hence decide to put up my own filehelper class that does things the way I want to do it.

Some of the methods in the class are:

1.  Read file into a string array, each item is a record

2. Read entire file to a string

3. Write to Text file

4. Append to text file

5. Write to binary file, example pdf contents

6. Move files to archive folder

7. Delete files in folder that are certain days old

8. Download file from the web.

Please make sure to do your won logging.

Here it is FileHelper Class

Posted by admin on Sep 18 2008 in Helper Classes