c# - ConfigurationManager.AppSettings vs Constants Class -


if have hard coded strings in app, when should store in app.config file , when should use const string in public static class?

i guess benefit of using appsettings don't need recompile if used static class, there other pros/cons?


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -