You are previewing Fluent C#.

Fluent C#

Cover of Fluent C# by Rebecca M. Riordan Published by Sams
O'Reilly logo

8. Classes in the .NET Framework

We’ve been working with classes for the last several chapters. You’ve seen that they are programming constructs that have state (fields and properties) and behavior (methods and events), that they descend from one another in a hierarchy, and that you can access their members with the dot operator.

But you may not think you know what any of that actually means yet, and that’s okay. We’ve only looked at these things very quickly so far, because we were concentrating on other parts of the application development process. In this chapter, we’ll start looking at exactly what classes are and how you go about creating and using them.

Objects INSTANTIATE classes. That is, they are INSTANCES of them. The ...

The best content for your career. Discover unlimited learning on demand for around $1/day.