O'Reilly logo

Begin to Code with C# by Rob Miles

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

9. Creating structured data types

Image

What you will learn

Programs can work with many different types of data, including integers, floating-point numbers, and strings of text. They can also create arrays of a particular data type. However, the data that programs need to work with is often more complex than single values. In this chapter, you’ll learn how to build structured data types that can bring together a number of related items into a single variable. Knowing how to do this lets you design data storage that matches the specific needs of an application.

Storing music notes by using a structure

Objects and responsibilities: Making a SongNote ...

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