Q&A
| Q1: | What are the caveats, if any, when working with C# versus Visual Basic .NET? |
A1: | Visual Basic .NET is a very developer-friendly language, and many of the features of the language are what make it the most widely used programming language in the world. If you're going to develop in C# and have never programmed in C or Java, remember that the language is case sensitive, statements must be terminated by a semicolon, and expressions must be enclosed in parentheses when they're being evaluated. Other than those three items, the rest should be pretty straightforward as you learn to use the language. |
| Q2: | I'm looking at the help file for C#, and I see unsigned numbers, such as Uint16 and Uint32. Why didn't you mention them in your discussion on data types? |
A2: | I tried to stick with the CLS-compliant data types today. C# supports unsigned integers, which are part of the C# language, but aren't part of the common language specification. That means you can use unsigned numeric data types in your code, but they won't be CLS compliant. |
| Q3: | You said there was more to learn. Where should I go to get more details about the language specifics of C# or Visual Basic .NET? |
A3: | Sams Teach Yourself Visual Basic .NET in 21 Days and Sams Teach Yourself C# in 21 Days are good books about the Visual Basic .NET and C# languages. They both cover variables, operators, classes, and objects in most of the first two weeks of lessons. There are many books on the market that have Visual Basic .NET or C# on the cover, but if you decide to buy one, just make sure that it doesn't wrap several major language features into a single lesson. In Sams Teach Yourself C# in 21 Days, each day in the first week is broken down into a major language feature, and the second week covers more advanced object-oriented topics, which I think is great. I highly recommend that book. |
• 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.