Hour 3. 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. ...

Get Sams Teach Yourself Visual C#® 2010 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.