Softlogger
Categories

[.NET Gotcha] SettingsPropertyValue typed as a string will never be null


I like to use chained null coalesce operators (??) to handle default console application parameters. The idea is that I provide a default value, override it via application settings (app.config and user.config), and then overridede it with command-line arguments. I think it provides for a nice user experience

Filed under: CSharp  |    On : 2006 Oct 05  |  From: JonGalloway.ToString()   | related Posts

Similar Posts



Most Popular

Archives

  • 2008
  • 2007
  • 2006
  • 2005
  • 2004
  • 2003