Programming C# 6, Part 08 of 12: Objects and Classes
Interactive

Programming C# 6, Part 08 of 12: Objects and Classes

LearnNow Online
Updated Aug 22, 2018

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.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

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.

Video Runtime

94 Minutes

Time to complete

349 Minutes

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)