什么是维护的好处"洁净QUOT;在C#中使用的指令列表? [英] What are the benefits of maintaining a "clean" list of using directives in C#?

查看:180
本文介绍了什么是维护的好处"洁净QUOT;在C#中使用的指令列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道VS2008有删除和排序清理使用指令功能一样,ReSharper的。除了你的代码是干净和消除引用这可能不是在未来存在命名空间的问题,什么是保持用指令的干净名单的好处是什么?

I know VS2008 has the remove and sort function for cleaning up using directives, as does Resharper. Apart from your code being "clean" and removing the problem of referencing namespaces which might not exist in the future, what are the benefits of maintaining a "clean" list of using directives?

更少的代码?
更快的编译时间?

Less code? Faster compilation times?

推荐答案

对于我来说,基本上所有关于噪声较小(加上使得ReSharper的快乐!)。

For me it's basically all about less noise (plus making Resharper happy!).

我会相信在编译时间任何改善将是最小的。

I would believe any improvement in compilation time would be minimal.

这篇关于什么是维护的好处"洁净QUOT;在C#中使用的指令列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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