OpenExeConfiguration has 2 overloads:
- ConfigurationManager.OpenExeConfiguration (ConfigurationUserLevel) ----- (1)
- ConfigurationManager.OpenExeConfiguration (String) ----- (2)
OpenMappedExeConfiguration has only 1 prototype:
- OpenMappedExeConfiguration (ExeConfigurationFileMap fileMap,ConfigurationUserLevel userLevel) ----- (3)
It seems both (2) and (3) can be used to open a specific config file rather than the default app.config file.
So what's the difference between them? When to use which?
Why do we seperate the UserLevel and Config File Location in (1) and (2), but combine them in (3)?
Thanks for any replies.
Update
I know that Microsoft always like to do things in more than one ways. But it should do it for a reason. Any body know the reason in my question? Do we need a bounty ;) ?