【发布时间】:2014-07-26 02:08:28
【问题描述】:
namespace Company.Product.System
{
using System;
using System.Collections.Generic;
...
这会产生编译器错误,因为现在 Visual Studio 找不到 System.Collections.Generic;。有没有办法解决这个问题?我不想听到这是否是一个坏主意,这个决定来自我之上,我在这件事上几乎没有选择。
【问题讨论】:
-
为什么不将 using 语句放在命名空间之外?
-
名称空间先生上方的左括号有什么用? @cost
-
@ScottChamberlain 这是个好主意,很明显,但我没有想到。代码由工具生成
标签: c#