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

Types in C#: An Overview

Before we begin our discussion of the various types found in C#, we need to clarify what a type is and its significance in C#.

What Is a Type?

In our everyday language, the word type usually signifies a number of persons or items sharing one or more particular characteristics. This often causes a group of people of the same type to be regarded as a more or less precisely defined group.

In C#, all values belonging to a specific type can be said to share a set of predefined characteristics.

Important characteristics for a variable of a simple type are the values that can be represented, its internal memory requirements, and its predefined behavior when applied in various computations. For example, each variable of type ...

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