Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么控件的 WinForms 默认名称以小写开头,而 WebForms 则为大写?这可能的理由是什么?
可能迷失在时间的深处,以及不同团队与不同设计师合作的产物。
下一条注释不适用于最初的日子,但在当前 ASP.NET 的化身中,一个有趣的点是页面继承自代码隐藏,因此如果它们被公开为受保护,则正确大小写的名称是有意义的特性。但它们不是:它们作为受保护的字段公开......所以这是一次打破了 2 个标准准则(非私有字段和字段的大小写)。