Murach's C# 2008
How to work with numeric and string data
This chapter shows you how to perform arithmetic operations on the various types of numeric data and how to work with string data. Beyond that, this chapter presents three important subjects that are usually treated too lightly or too late in other books: casting, data conversion, and scope.
|
|
|
|
The built-in value types |
96 |
|
How to declare and initialize variables |
98 |
|
How to declare and initialize constants |
98 |
|
How to code arithmetic expressions |
100 |
|
How to code assignment statements |
102 |
|
How to work with the order of precedence |
104 |
|
How to work with casting |
106 |
|
How to use the Math class |
108 |
|
|
Basic skills for working with
strings |
110 |
|
How to include special characters in
strings |
112 |
|
|
The .NET structures and classes that
define data types |
114 |
|
How to use methods to convert data types |
116 |
|
How to convert numbers to formatted
strings |
118 |
|
|
How to work with scope |
120 |
|
How to declare and use enumerations |
122 |
|
How to work with nullable types |
124 |
|
|
The basic Invoice Total application |
126 |
|
The enhanced Invoice Total application |
128 |
|
 |
|
|
|
|
© Copyright 1998-2008 Mike Murach &
Associates, Inc. All rights reserved.
|