Is reading app.config expensive?

前端 未结 5 1789
青春惊慌失措
青春惊慌失措 2020-12-14 07:15

No question I am yet to be hit by any read speed bottleneck. I am asking to know; if reading app.config frequently is a bad programming choice. I have known of database oper

5条回答
  •  北海茫月
    2020-12-14 07:35

    Reading from app.config is only first time when you executed the application. After that, it will store this configuration in memory and read from it whenever you need access. That is why, changing in app.config won't affect for current running application.

提交回复
热议问题