I’m working with a small command line application in C#. Is the ConfigurationManager a good solution for this? Is this a configuration I can write to, or is it read only?
This page: http://msdn.microsoft.com/en-us/library/system.configuration.configurationmanager.appsettings.aspx provides a clear indication that I can read data.
My objective is to collect some information via command line prompts and write what’s entered into a file the application can use with other commands.
Thanks for the help, I’m new to C# so I’m just figuring this stuff out.
I suggest using the Settings functionality instead of
ConfigurationManager– if you wish to read/write user settings, that’s the right tool.