Part II. Understanding the C# Object Model

In Part I you learned how to declare variables, use operators to create values, call methods, and write many of the statements you need when implementing a method. You now know enough to progress to the next stage: combining methods and data into your own functional data structures. The chapters in Part II will show you how to do this.

In Part II, you’ll learn about classes and structures. These are the two fundamental types that you can use to model the entities and other items that constitute a typical C# application. In particular, you’ll see how C# creates objects and value types based on the definitions of classes and structures, and how the common language runtime (CLR) manages the life cycle of ...

Get Microsoft® Visual C#® 2012 Step by Step 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.