Common Elements in Visual C# 2008
The remainder of the chapter discusses the common elements of Visual C# 2008 programs.
Namespaces
Namespaces provide hierarchical clarity of classes within and across related assemblies. The .NET Framework Class Library (FCL) is an example of the effective use of namespaces. The FCL would sacrifice clarity if it were designed as a single namespace with a flat hierarchy. Instead, the FCL is organized using a main namespace (System) and several nested namespaces. System, which is the root namespace of the FCL, contains the classes ubiquitous to .NET, such as Console. Types related to LINQ are grouped in the System.Linq namespace. Other .NET services are similarly nested in .NET namespaces. For example, data services ...
Get Programming Microsoft® Visual C#® 2008: The Language now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.