10 2011 档案

摘要:1.0--3.5sp1http://msdn.microsoft.com/zh-cn/library/ms171868(v=VS.90).aspx4.0http://msdn.microsoft.com/zh-cn/library/ms171868(v=VS.100).aspx 阅读全文
posted @ 2011-10-11 19:20 SolidMango 阅读(449) 评论(0) 推荐(0)
摘要:C# 语言规范没有定义编码标准。 但是,Microsoft 使用本主题中的这些指南开发示例和文档。 编码约定可实现以下目的:它们创建一致的代码外观,从而使读者可以关注内容而非布局。它们使读者能够根据以前的经验作出假设,从而更加快速地理解代码。有利于复制、更改和维护代码。演示 C# 最佳做法。命名约定 命名指南在 名称准则 中介绍。 您无需更改由 Visual Studio 设计器工具创建的对象的名称,就可以让它们符合指南。 在不包括 using 语句 的简短示例中,使用命名空间限定。 如果您知道默认情况下会将某命名空间导入项目中,则无需完全限定来自该命名空间的名称。 如果限定名称太长无法放入一 阅读全文
posted @ 2011-10-10 21:15 SolidMango 阅读(499) 评论(0) 推荐(0)
摘要:1. Handle Leak:A handle leak is a type of software bug that occurs when a computer program asks for a handle to a resource but does not free the handle when it is no longer used. If this occurs frequently or repeatedly over an extended period of time, a large number of handles may be marked in-use . 阅读全文
posted @ 2011-10-10 20:35 SolidMango 阅读(3297) 评论(0) 推荐(0)