This chapter discusses object-oriented programming in C#. OOP is what C# is all about; in this chapter, we're
going to specialize on this topic. You may well be an accomplished OOP programmer already, in which case it's
still a good idea to scan this chapter. OOP in C# has several differences from all other object-oriented
languages.If you're an OOP programmer, you know that object-oriented programming centers on creating types. The simple type int lets you declare integer variables, and in the same way, you can create your own classes, which
contain not only data like the simple types, but methods as well. Just as you create integer var..