Quiz
| 1: | The ___________ namespace helps me get information about Active Directory users and computers. |
A1: | System.DirectoryServices |
| 2: | 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. |
A2: | GetLogicalDrives, GetLogicalDrives |
| 3: | The only difference between the Write and the WriteLine methods of the StreamWriter class is the __________________ character that the WriteLine method uses. |
A3: | line terminator |
| 4: | True or False: I can use the Imports or using statement to alias a namespace that isn't imported into my application. |
A4: | 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. |
| 5: | How do you add a reference to an assembly that isn't giving you AutoComplete when you're typing in the Code window? |
A5: | 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. |
• Table of Contents
• Index
Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days
By
Jason Beres
Publisher
: Sams Publishing
Pub Date
: January 14, 2003
ISBN
: 0-672-32421-0
Pages
: 696
Sams Teach Yourself Visual Studio .NET in 21 Days will help developers that are new to application development and experienced developers understand how to use the .NET Framework and Visual Studio .NET to rapidly develop any type of computer application. The Visual Studio .NET development environment is the most comprehensive developer tool ever created, putting that together with the .NET Frameworks' Class Libraries, the developer has everything he or she needs to get up-to-speed on Microsoft's latest revolution in application development. This book will guide the developer through using the VS .NET IDE, the Visual Basic .NET and C# language, and the supporting tools available from Microsoft to create Windows and Web-based applications. The market is full of books that pretty much say the same thing, which is already available in the help files, the author of this book has written and deployed over a dozen successful applications using Visual Studio .NET and the .NET Framework. All of his expertise and experience is used to give you the most comprehensive title on using Visual Studio .NET.