It's wise to avoid using class names duplicated in heavily used namespaces. For instance, do not use the following for a class name : System Collections Forms UI Also avoid using identifiers that conflict with common keywords; remember that all keywords must be escapable (and therefore usable) within any .NET language, but that doesn't mean it's easy to do. Avoid the identifier names listed in Table 22-1. Table 22-1. Common keywords best avoided in class names
Try to avoid using abbreviations in identifiers (including parameter names), but if doing so renders the name more unintelligible, use camel- casing rules for any abbreviation over two characters , even if this is not the standard abbreviation. (Thus, the compound name "XML reader" should be called "XmlReader"). |