Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Understanding Namespaces and Adding References to Assemblies - 17

Download

Right click “Save as…”

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.

Download the source code for Understanding Namespaces...

 

 

Tags:

Follow the Discussion

  • This was a great treatment of namespaces and assemblies. Thanks!

  • @a14437: thank you!  I've worked through an explanation of namespaces for a few years now and I kind of like this approach myself.  Glad you liked it!

  • ewjrlwjerewjrlwjer

    Great series, Bob!

  • Michael TMichael T

    I really appreciate these videos, I am using this series in conjunction with a book that is from the MSDN website
    'Beginning Visual C# 2010'. It is a nice complement to the book to kind of build on the same concepts even though things aren't necessarily in order, it still works - the way you explain everything adds clarity.
    Thanks!

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.