Are embedded resources cached by the framework?

简单的回答是:Yes.详细的问答如下:

问: I have a RESX file that is marked with 'Embed Resource' build action. While the app is running, it will need to read RESX data multiple times, from different points in the app.  Will the ResourceManager ends up doing disk IO every time, or will the resources be kept in memory?

答:Yes they're cached in a Hashtable, so it hits IO once.

posted on 2004-02-18 08:44  孙展波  阅读(766)  评论(2编辑  收藏  举报

导航