configuration files 101

so i have been needing to figure out how to do this for some time and finally i got the much needed kick in the pants. here is how to read from an xml configuration file using csharp.

first, here is the application:

With Line Numbers and Without Line Numbers

and here is the configuration file:

With Line Numbers and Without Line Numbers

note, you must name the configuration file the name of the executable with '.config' tacked on to the end. i called my files: ConfigureExample.cs which compiled to: ConfigureExample.exe so the configuration file is: ConfigureExample.exe.config