摘要:Developing Microsoft ASP.NET Server Controls and Components
Part 1 :Component Programming Overview
Name Space
Syntax
C#:
Namespace
{}
VB:
Namespace
End Namespace
Naming Guidelines
Prefixing namespace names with a company name or other well-established brand
Use a stable, recognized technology name at the second level of a hierarchical name.
Pascal case
Use plural namespace names if it is semantically appropriate.
Do not use the same name for a namespace and a class.
Examples
Design Guidelines
Class
Syntax
C#:
class identifier [: base-list] { class-body }[;]
VB:
Class name
[ Inherits classname ]
[ Implements interfacenames ]
[ statements ]
End Class
Naming Guidelines
Use a noun or noun phrase to......[
阅读全文]