This content is no longer current. Our recommendation for up to date content: http://channel9.msdn.com/Series/C-Fundamentals-for-Absolute-Beginners
Understanding Namespaces and Adding References to Assemblies - 17
We've avoided any talk about Namespaces; however, they serve an important role in the .NET Framework Class Library as well as in our custom class libraries. In this lesson we explain how Namespaces allow us to disambiguate classes that may share the same name. Additionally, we explain how the .NET Framework Class Library is so large that including all its classes in every application you write is a waste of system resources. To mitigate that issue, the FCL is split into multiple assemblies (.dll files) that your project must include (or rather, reference) in order for them to be utilized in your applications. We discuss how certain project templates include references to the typical assemblies required by a given type of application (such as a web application), and we demonstrate this by referencing a custom assembly of my own design.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.