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

10. Classes and references

Image

What you will learn

In the previous chapter you saw how a programmer can create custom designs for variables. If a program needs to manipulate musical notes, graphical coordinates, or color values, you can create data structures for these types of data and use those structures in the same way that you do the built-in data types provided by C#.

In this chapter, you will expand on this knowledge and learn how to design classes, which build on the abilities of structures and on the way a program can work with very large and complex data items. You’ll find out how to use properties to manage access to data held inside objects ...

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