|
To start using the FileHelpers Library you only need to add a reference in your project to the file: FileHelpers.dll. you can find it in the Release directory of the distribution. Tip: remember to left the FileHelpers.xml file to get Intellisense support.

|
 |
Next you need to define a class that maps to the record in the source/detination file.
For this example we use a file with this format:
|
| |
So you must write this class:
C#
VB.NET
|
 |
Later you need to create a FileHelperEngine and Read/Write files:
C#
VB.NET
|
 |
Finally we can use the res array to access each item in the file, for example:
C#
VB.NET
|