Chapter 11. Using Constants, Data Types, Variables, and Arrays

<feature><title>What You’ll Learn in This Hour</title> <objective>

Understanding data types

</objective>
<objective>

Determining data type

</objective>
<objective>

Converting data to different data types

</objective>
<objective>

Defining and using constants

</objective>
<objective>

Declaring and referencing variables

</objective>
<objective>

Working with arrays

</objective>
<objective>

Determining scope

</objective>
<objective>

Declaring static variables

</objective>
<objective>

Using a naming convention

</objective>
</feature>

As you write your Visual C# procedures, you regularly need to store and retrieve various pieces of information. As a matter of fact, I can’t think of a single application I’ve ...

Get Sams Teach Yourself Visual C# 2008 in 24 Hours: Complete Starter Kit now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.