© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
R. VystavělC# Programming for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-7147-6_5

5. Working with Objects

Radek Vystavěl1  
(1)
Ondřejov, Czech Republic
 

Variables of type string, int, double, and bool always contain a single value—text, a single number, or a single yes/no value. However, such “atomic” values can be grouped into aggregates that are called objects. A single object can contain multiple values that are called its components or members. Grouping can go so far that an object can contain several other objects inside itself, for example. In this chapter, you are going to learn about objects.

What Time Is It?

The first object you will encounter ...

Get C# Programming for Absolute Beginners: Learn to Think Like a Programmer and Start Writing Code 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.