Learn your way! Get started

Programming C# 6, Part 08: Objects and Classes

with expert Don Kiely

Watch trailer

Programming C# 6, Part 08: Objects and Classes Trailer

Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack
  • Power Pack Plus

Release date Release date 2/11/2016
Level Level Intermediate
Runtime Runtime 1h 34m
Platform Platform Major browsers on Windows Major browsers on Windows Major browsers on Mac OSX Major browsers on Mac OSX Mobile Devices Mobile Devices
Closed captioning Closed captioning Included
Transcript Transcript Included
eBooks / courseware eBooks / courseware Included
Hands-on labs Hands-on labs Included
Sample code Sample code Included
Exams Exams Included

Enterprise Solutions
Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More

Course description

Classes are one of the fundamental concepts of C# application development, because you’ll often need to work with more complex data than C#’s base data types. Classes serve as a blueprint or design: They can’t be used directly as components of an application, but you can use them to create objects whose form and behavior you control. In this course, you’ll learn about classes and objects in C#, and then learn how to create your own classes, how to declare and define them, how to use them to store data, and how to imbue them with behaviors.


This course builds upon: Programming C# 6: Getting started, Your First App, Projects and Syntax and Variables and Data Types.

Meet the expert

Don Kiely Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant, specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.

Course outline

Objects and Classes

Objects and Classes (13:18)
  • Introduction (00:49)
  • Demo: FileInfo & DirectoryInfo (02:51)
  • Demo: System.IO Namespace (03:09)
  • Classes as Templates (01:47)
  • Class Constructors (04:18)
  • Summary (00:22)
Class Properties and Methods (09:33)
  • Introduction (00:25)
  • Demo: Class Properties (02:09)
  • Demo: Static vs. Instance (01:19)
  • Demo: Class Methods (05:00)
  • Summary (00:37)
Creating a Class (21:50)
  • Introduction (01:04)
  • Creating Your Own Class (01:35)
  • Demo: Create a Class (04:29)
  • Demo: Class Contents (06:24)
  • Demo: Documentation (04:56)
  • Demo: Intellisense (02:37)
  • Summary (00:42)
Visual Studio for Classes (19:48)
  • Introduction (00:38)
  • Demo: Class View (02:42)
  • Demo: Class Designer (05:38)
  • Demo: Class Members (05:21)
  • Demo: Private Members (04:53)
  • Summary (00:34)
Implement Class Code (17:24)
  • Introduction (00:48)
  • Demo: Class Structure (04:53)
  • Demo: Constructors (02:40)
  • Demo: Flesh Out the Code (04:17)
  • Demo: Read-Only Field (04:19)
  • Summary (00:24)
Add Class Methods (12:36)
  • Introduction (00:41)
  • Demo: Add a Method (04:13)
  • Demo: TestCustomer2 (05:05)
  • Demo: Getting Customer Info (01:45)
  • Summary (00:50)