Murach's Beginning Visual Basic .NET

This chapter presents the basics of writing VB.NET code, then shows you how to code and use variables and conditional statements in your programs. To see how well it works, you can download this chapter for free.

Chapter 3 Visual Basic language essentials (part 1)
Basic coding skills 84
How to code with a readable style 84
How to continue a statement from one line to the next 86
How to use comments 88
How to collapse, expand, and print the source code 90
How to use the Text Editor toolbar 92
How to work with variables 94
The Visual Basic primitive data types 94
How to declare and initialize variables 96
How to code assignment statements 98
How to code arithmetic expressions 100
How to work with string and date variables 102
How to code conditional statements 104
How to code conditional expressions 104
How to code If statements 106
How to code Select Case statements 108
The Invoice Total application 110
The user interface and control names 110
The Visual Basic code 110
Perspective 112
t




Murach's Beginning Visual Basic .NET

Learn more about this book

Add this book to your cart

Download this chapter