Summary

.NET Framework Base Class Library ships with many built-in types that are organized within namespaces. As a developer, you can build your custom types; therefore, you can organize them in namespaces. Namespaces are also a way to have different implementations of objects with the same name within a complex framework hierarchy. Because they are visible to other projects or assemblies, namespaces have a Public or Friend scope. Namespaces are also flexible; you can implement complex hierarchies nesting namespaces, and you can use whatever identifier you like. Finally, you saw the Global namespace and the usage of the Global keyword. You have to deal with namespaces many times in object-oriented programming, so this chapter gives you the ...

Get Visual Basic 2015 Unleashed 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.