This chapter introduces you to objects and classes. If you are new to OOP, you may want to read this chapter carefully because a good understanding of OOP is key to writing quality programs.
This chapter starts by explaining what an object is and what constitutes a class. It then teaches you how to create objects in C# using the new keyword, how objects are stored in memory, how classes can be organized into namespaces, how to use access control to achieve encapsulation, and how C# manages unused objects. In addition, method overloading and static class members are explained.
When developing an application in an OOP language, you create a model that resembles a real-life situation to solve your ...