Learn your way! Get started

Programming C# 6, Part 09 of 12: Objects and Types

with expert Don Kiely

Watch trailer

Course at a glance

Included in these subscriptions:

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

Release date 5/20/2016
Level Intermediate
Runtime 1h 20m
Closed captioning Included
Transcript Included
eBooks / courseware Included
Hands-on labs Included
Sample code Included
Exams Included

Enterprise Solutions

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

Course description

This class teaches you the nuances of objects, which are the building blocks of complex applications. Noted instructor and consultant Don Kiely will teach you what you need to know about value and reference types as well as how to take control of the garbage collection process included in .NET in order to dispose of objects and manage their memory footprint.


This course builds upon: Programming C# 6: Getting started Programming C# 6: Your First App Programming C# 6: Projects and Syntax Programming C# 6: Variables and Data Types Programming C# 6: Adv Data Types and Operators Programming C# 6: Strings, File I/O and Date Types Programming C# 6: Conditions and Looping Programming C# 6: Objects and Classes It is considered a more Intermediate to advanced topic after you have gone through these other courses.

Learning Paths

This course is part of the following LearnNowOnline SuccessPaths™:
.NET Framework C# Development

Meet the expert

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

Working with Objects

Value and Reference Types (22:54)
  • Introduction (00:33)
  • Value and Reference Types (01:16)
  • Uninitialized Reference Types (00:41)
  • Demo: Test Null Reference (03:43)
  • Disposing of Variables (02:51)
  • Demo: Garbage Collection (04:38)
  • Demo: Destructor (04:56)
  • Demo: Manual Garbage Collection (02:36)
  • Summary (01:35)
Deterministic Object Lifetimes (14:23)
  • Introduction (01:15)
  • Deterministic Finalization (01:31)
  • Demo: DisposeDemo (05:52)
  • Demo: Dispose Method (05:00)
  • Summary (00:42)
Instance and Static Members (29:01)
  • Introduction (00:48)
  • Demo: Instance Members (05:34)
  • Demo: Static Properties (05:42)
  • More About Static Members (01:56)
  • Key Concept (00:34)
  • Using Static Directives (01:10)
  • Demo: Using Static (03:51)
  • Demo: Ambiguity (05:03)
  • Demo: Static Stuff (03:42)
  • Summary (00:37)
Working with Objects (14:01)
  • Introduction (00:38)
  • Overriding the Object Class (01:25)
  • Demo: System.Object Class (03:00)
  • Demo: Overriding ToString() (02:00)
  • Manipulating Object References (00:35)
  • Demo: Reference Types (05:43)
  • Summary (00:37)