开发者

images added into resx file

This has been a interesting file for me. I found that ,whenever a image is added to this ,the image is actually converted into bytes and stored 开发者_JS百科as data rather than a file. I just want to know the benefit of this?also will be there be chances of bytes getting curropted when the file is put into version control(Most unlikely)


A file is nothing else but data written to disk and usually contains the actual data plus some header information (e.g. image type, so you know how to interprete the data). If it helps you understand it, think of the resx file as a "mini" file system from which the image data can be retrieved.

If put in version control, resx files should be no problem.


You might want to take a look at ResourceManager.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜