In this chapter, we learned how to manage types in C#. We had a recap of the different data types available in C#. We did a deep dive into value and reference types in C#. We also had a review of the pointer data type and learned how it works. We had a look at some of the practices a user can use to choose the type of a variable. We had a look at generic types and learned how they help us to improve the performance of a system.
Then, we looked at the different techniques we use to consume a type declared in C#. We learned how boxing and unboxing work in C#. We then had a look at how to we consume these data types. We also looked at type conversions, both implicit and explicit, and learned how they help us to convert one data type into another.
Then, we had a look at Properties and how it helps us to have more control over setting and retrieving values from the field...