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

Chapter 6. TYPES PART I: THE SIMPLE TYPES

You will learn about the following in this chapter:

  • The importance of types in C# and why it is important to be familiar with them

  • The implications of C# being a strongly typed language

  • Two important ways of dividing the types in C#—simple types versus derived types and value types versus reference types

  • All the main types found in C#

  • Simple predefined types in C#

  • How C# determines the type of a literal

  • How to best apply each simple type, and how to avoid common pitfalls during this process

  • Compatibilities between the various simple types and understanding for implicit and explicit conversions between these types

  • A syntax notation form used in the rest of the book to effectively and concisely describe the syntax ...

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