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.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.152.159