Hour 12. Performing Arithmetic, String Manipulation, and Date/Time Adjustments

Just as arithmetic is a necessary part of everyday life, it's also vital to developing Windows programs. You probably won't write an application that doesn't add, subtract, multiply, or divide some numbers. In this hour, you'll learn how to perform arithmetic in code. You'll also learn about order of operator precedence, which determines how Visual C# .NET evaluates complicated expressions (or equations). After you understand operator precedence, you'll learn how to compare equalities—something you'll do all the time.

Boolean logic is the logic Visual C# .NET itself uses to evaluate expressions in decision-making constructs. If you've never programmed before, Boolean ...

Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours now with O’Reilly online learning.

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