Sams Teach Yourself .Net in 21 Days
- Table of Contents
- Copyright
- About the Author
- About the Technical Editor
- Acknowledgments
- We Want to Hear from You
- Introduction
- Week 1: At a Glance
- Day 1. Introduction to the Microsoft .NET Framework
- Day 2. Introduction to Visual Studio .NET
- Day 3. Writing Windows Forms Applications
- Day 4. Deploying Windows Forms Applications
- Day 5. Writing ASP.NET Applications
- Day 6. Deploying ASP.NET Applications
- Day 7. Exceptions, Debugging, and Tracing
- Week 1. In Review
- Week 2: At a Glance
- Day 8. Core Language Concepts in Visual Basic .NET and C#
- Day 9. Using Namespaces in .NET
- Day 10. Accessing Data with ADO.NET
- Day 11. Understanding Visual Database Tools
- Day 12. Accessing XML in .NET
- Day 13. XML Web Services in .NET
- Day 14. Components and .NET
- Week 2. In Review
- Week 3: At a Glance
- Day 15. Writing International Applications
- Day 16. Using Macros in Visual Studio .NET
- Day 17. Automating Visual Studio .NET
- Day 18. Using Crystal Reports
- Day 19. Understanding Microsoft Application Center Test
- Day 20. Using Visual SourceSafe
- Day 21. Object Role Modeling with Visio
- Week 3. In Review
Day 9. Using Namespaces in .NET
On Day 1, when you were introduced to the .NET Framework, we talked about the two core components that make it up. The first core component of the .NET Framework is the common language runtime. The common language runtime handles all the internals of running the .NET Framework, such as memory management, security, and type checking. The second core component is the Framework Class Library (FCL). The FCL contains the actual implementation types that you'll use in your applications. Today, you get a better understanding of what the FCL is made up of and how to effectively use namespaces and classes in your applications. You learn
- What a namespace is
- What the common namespaces are in the FCL
- How to find namespaces in the .NET Framework SDK
- Which of the namespaces in the FCL are responsible for what type of functionality
- How to reference namespaces in your Visual Basic .NET and C# classes
- How to program against namespaces; specifically, you learn about the System.IO namespace and the Environment class of the System namespace
What Are Namespaces? | Next Section

Account Sign In
View your cart