O'Reilly logo

C# 5.0 Unleashed by Bart De Smet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Organization with Namespaces

Given its enormous proportions, a good structure is invaluable to discoverability of features in the BCL. One key approach to enable this is by using a hierarchical organization of the types provided, as opposed to the flat structure seen in the Win32 API. In the world of managed code, this translates into the use of namespaces. The following are a few examples of common namespaces and the functionality they group together:

Image System contains the primitive data types like Int32, Double, String, Booleans, and others.

Image

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required