Sams Teach Yourself Visual Studio .NET 2003 in 21 Days

Sams Teach Yourself .Net in 21 Days

By Jason Beres

Q&A

  1. What are the caveats, if any, when working with C# versus Visual Basic .NET?

    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.

  2. 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?

    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.

  3. 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?

    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.

Share ThisShare This

Informit Network