C# Fundamentals for Absolute Beginners: (15) Understanding and Creating Classes
Description
Classes are integral to the .NET Framework, particularly the .NET Framework Class Library. Learn how classes are defined and new instances are created, how to define Properties, and how to both set values and get values for a given instance of the class.
Full course outline:
 Mod 01: Series Introduction
 Mod 02: Installing Visual Studio Express 2013 for Windows Desktop
 Mod 03: Creating Your First C# Program
 Mod 04: Dissecting the First C# Program You Created
 Mod 05: Quick Overview of the Visual C# Express Edition IDE
 Mod 06: Declaring Variables and Assigning Values Duration
 Mod 07: Branching with the if Decision Statement and the Conditional Operator
 Mod 08: Operators, Expressions, and Statements Duration
 Mod 09: for Iterations
 Mod 10: Creating Arrays of Values
 Mod 11: Creating and Calling Simple Overloaded Helper Methods
 Mod 12: while Iterations and Reading Data from a Text File
 Mod 13: Working with Strings
 Mod 14: Working with DateTime
 Mod 15: Understanding and Creating Classes
 Mod 16: More About Classes and Methods
 Mod 17: Working with Classes and Inheritances in the .NET Framework Class Library
 Mod 18: Understanding Namespaces and Adding References to Assemblies
 Mod 19: Understanding Scope and Utilizing Accessibility Modifiers
 Mod 20: Enumerations and the switch Decision Statement
 Mod 21: Gracefully Handling Exceptions
 Mod 22: Working with Collections
 Mod 23: Filtering and Managing Data Collections Using LINQ
 Mod 24: Understanding EventDriven Programming
 Mod 25: Where to Go from Here
Share
Download
Download this episode
 MP3 (0.0 B)
 Low Quality MP4 (0.0 B)
 High Quality MP4 (0.0 B)
 Mid Quality MP4 (0.0 B)
More episodes in this series
C# Fundamentals for Absolute Beginners: (16) More About Classes and Methods
The Discussion

mod 15 shows the video for 14, thanks for the run down. I've done some vb.net but never had a class and this ties together most of what I learned from millions of Google searches

Just a little mistake with the video introductions, it's says 14 working with date time but it's talking about Classes.

Sir Bob, you and your team members are doing a great job for the new beginner developers. I personally searched for ton of guides but yours are the effective ones. Great Job! :D

LOVE THE WAY YOU EXPLAINED Classes and Objects... There's so much crap out there... I was about to give up C# and to C!! Thank you!!

The explaination of Classes and objects is on point. Thank you Bob Tabor.

Hi Bob, just ran into a snag, went over a few times, but I can't seem to spot what I did wrong. Great tutorials by the way, really enjoying the process.
Code snippet below, but I am getting a red sqiggly line under:
if (this.Year > 1990)
Error CS0019 Operator '>' cannot be applied to operands of type 'string' and 'int'
Full code snippet
https://github.com/SnipeHub/LearningCSharp/blob/master/SimpleClasses/SimpleClasses/Program.cs
Thanks 
SnipeHub,
You just need a couple changes.
Line 17 should be: myNewCar.Year = 1986;
Line 46 should be: public int Year { get; set; }
It's just a matter of that variable being an integer (number) rather than a string. 
SnipeHub
Hi, there is a mistake line 46 please change it like this public int Year { get; set; }
By the way thank you Bob.