Hour 4. Understanding Classes and Objects the C# Way

A class is the fundamental programming concept in C#, defining both representation and behavior in a single unit. Classes provide the language support required for object-oriented and component-oriented programming and are the primary mechanism you use to create user-defined types. Traditionally, object-oriented programming languages have used the term type to refer to behavior, whereas value-oriented programming languages have used it to refer to data representation. In C#, it ...

Get Sams Teach Yourself C# 5.0 in 24 Hours 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.