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
Summary
Today was a long day, but it was filled with valuable information. You learned what namespaces are and how you can use them in your applications. You also saw a breakdown of the key namespaces in the .NET Framework, and you learned how to implement the System.IO namespace and the System.Environment class. Over the remainder of this week and next week, you'll learn how to implement many more of the core namespaces in .NET, including System.Data, System.XML, System.Globalization, and others.
Some key points to remember from today:
- Be sure to reference assemblies before you use them in your applications.
- Use the Imports statement in Visual Basic .NET and using statement in C# to avoid using fully qualified names.
- Take time now to familiarize yourself with the .NET Framework SDK and the Visual Studio help files. Doing so will save you hours and hours of time in the future.
- Use the static methods of the File, Directory, and Path classes to do one-off operations. Don't use them for multiple file or directory operations because of the overhead of security checks.
- Use the Toolbox to save cool code snippets! Keep building your personal code library by taking advantage of the drag-and-drop capability of the Toolbox to save snippets for later use.

Account Sign In
View your cart