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

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

LearnNow Online
Updated Aug 22, 2018

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.

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


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

80 Minutes

Time to complete

300 Minutes

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)