I have defined:
public static string Firstname { get; set; }
public static string Surname { get; set; }
public static bool DocBook5 { get; set; }
public static string Language { get; set; }
I stored that information in a App.config.
Then i used that to load and connect:
Firstname = ConfigurationManager.AppSettings["firstname"];
Surname = ConfigurationManager.AppSettings["surname"];
DocBook5 = Convert.ToBoolean(ConfigurationManager.AppSettings["docbook5"]);
Language = ConfigurationManager.AppSettings["language"];
But if i'm giving out the properties content with Console.WriteLine it looks like the properties are empty. The full code of the GetConfig class can be shown there
Maybe anyone knows why?