Chapter 7. TYPES PART II: OPERATORS, ENUMERATORS, AND STRINGS

You will learn about the following in the chapter:

  • C#'s arithmetic operators.

  • How an arithmetic expression is evaluated in terms of finding its value and associated type. In particular, how the precedence and associativity rules are applied.

  • The flowchart as a means to describe an algorithm.

  • How the C# compiler determines the type of a numerical expression.

  • A method to access the metadata of a C# program and determine the type of any expression.

  • How to work with enumerated constants and provide an understanding for their advantages.

  • The simple type char.

  • The string type and its underlying characteristics.

  • How to use the most important string methods.

  • How the built-in methods of the string

Get C# Primer Plus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.