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

Simple Types

Simple types are also called primitive types and belong to a group of built-in predefined types found in C#. Examples of such values are single numbers (the int type) and individual characters.

Our path to appreciating the variety of simple types provided begins with an understanding of the relationship between the information you want to store from the “real” world and the variables in your source code.

Variables constitute a central part of a C# program. They enable the programmer to symbolically represent values stored in the computer memory. In fact, the identifier of a variable (such as count or age) is a symbol representing an underlying value somewhere in memory. A name, such as taxPercentage, is far easier to understand in ...

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