O'Reilly logo

Sams Teach Yourself Microsoft® Visual C#® 2005 in 24 Hours, Complete Starter Kit by James Foxall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

What You’ll Learn in This Hour:

  • Performing arithmetic

  • Understanding the order of operator precedence

  • Comparing equalities

  • Understanding Boolean logic

  • Manipulating strings

  • Working with dates and times

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 learn how to perform arithmetic in code. You also learn about order of operator precedence, which determines how Visual C# 2005 evaluates complicated expressions (equations). After you understand operator precedence, you’ll learn how to compare equalities—something ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required