O'Reilly logo

C# Primer Plus by Klaus Michelsen

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

Introduction

The variety of types presented in the previous chapter allows you to create tailor-made formations of types suited to represent the data of your program's problem domain. However, without operators, these structures are like motionless skeletons unable to respond or perform useful tasks. Operators act; they let you create the muscles and the brain of your program. By mastering these fundamental C# elements, you will soon create program bodies that can run and even perform acrobatics.

C# offers access to a broad range of operators. Apart from some operators dedicated for special purposes, we can divide the remaining operators into four main categories—arithmetic, relational, logical, and bit-wise.

Arithmetic operators are applied ...

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