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
Quiz
-
The ___________ namespace helps me get information about Active Directory users and computers.
System.DirectoryServices
-
To get a list of logical drives on the system, I can use the ____________ method in the System.Environment class or the ______________ method in the System.IO.Directory class.
GetLogicalDrives, GetLogicalDrives
-
The only difference between the Write and the WriteLine methods of the StreamWriter class is the __________________ character that the WriteLine method uses.
line terminator
-
True or False: I can use the Imports or using statement to alias a namespace that isn't imported into my application.
True. But, if the assembly is not added to the References node in your Solution Explorer, you will need to make sure to add the assembly as a reference first, then alias it in your class file.
-
How do you add a reference to an assembly that isn't giving you AutoComplete when you're typing in the Code window?
Use the Imports statement in VB.NET or the using statement in C# at the top of your class file to reference the namespace you are attempting to use.
Exercises | Next Section

Account Sign In
View your cart