You already know from the previous chapter that an object is a kind of data conglomerate consisting of several “pieces of data.” You also know that you can access an object’s individual components when you enter the object name, a dot, and the component name. In this chapter, you will find that objects in programming are even more complex. You will learn that besides data components, objects can encapsulate actions that you can perform with the corresponding object. Through several tasks, you will get practice using object actions.
© Radek Vystavěl 2017
Radek Vystavěl, C# Programming for Absolute Beginners, https://doi.org/10.1007/978-1-4842-3318-4_6
6. Using Object Actions
Radek Vystavěl1
(1)Ondřjov, Czech Republic
Get C# Programming for Absolute Beginners 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.