C#.NET资源 [英] C# .NET Resources

查看:100
本文介绍了C#.NET资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它是一个很好的做法,通过使用资源?

Is it a good practice to load configuration data for a application through the use of Resources ?

请让我知道。

其实我正与机器人工作室,我不认为这是加载配置的任何其他方式。

I am actually working with the Robotics studio and I don't think there is any other way of loading a configuration.

推荐答案

根据您要加载的数据,您可以使用的Application设置功能。

Depending on the data you want to load, you could use the Application Settings features of .NET.

应用程序设置,使您能够存储和检索属性   设置等信息动态应用程序。他们   也使您能够在保持自定义应用程序和用户preferences   客户端计算机。

Application settings enable you to store and retrieve property settings and other information for your application dynamically. They also enable you to maintain custom application and user preferences on the client computer.

如果要加载大量数据,那么资源(外置或内置)可能是一个更好的主意。

If you want to load a large amount of data, then resources (external or embedded) might be a better idea.

这篇关于C#.NET资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆