摘要:
从FxCop归纳出来的一些规范建议下面是根据FxCop整理的.NET代码编写规范,仅供参考。一、 Design(设计)1. Abstract types should not have constructors抽象类不应该声明构造方法2. Assemblies should have valid strong names程序集应该具有强名称3. Avoid empty interfaces避免使用空的接口4. Avoid excessive parameters on generic types避免在泛型类中使用过多的类型参数5. Avoid namespaces with few types 阅读全文
posted @ 2011-04-12 20:24 子游 阅读(227) 评论(0) 推荐(0)
浙公网安备 33010602011771号