AI Instructor Live Labs Included

Introduction to C# Programming II

Level up your C# skills with inheritance, interfaces, LINQ, async/await, file I/O, and more. 8 lessons with hands-on exercises and an advanced capstone project.

Intermediate
1d 1h 35m
16 Lessons
Introduction to C# Programming II Badge

View badge details

About This Course

Take your C# skills to the next level. Building on the fundamentals from C# Programming I, this course covers inheritance, interfaces, exception handling, file I/O, LINQ, async programming, and generics. Each lesson is AI-instructed with hands-on coding exercises in a cloud VS Code environment. The capstone project challenges you to build a complete file-based application.

Course Curriculum

16 Lessons
01
AI Lesson
AI Lesson

Inheritance — Building on Existing Classes

45m

Learn to create class hierarchies with inheritance, override methods, use base keyword, and understand protected access.

02
Lab Exercise
Lab Exercise

Inheritance - Lab Exercises

2h 30m 4 Exercises

Learn to create class hierarchies with inheritance. Extend base classes, override methods, and understand the 'is-a' relationship.

Animal Hierarchy Build a class hierarchy with Animal base class and derived classes ~30 min
Employee System Create an employee hierarchy with Manager and Developer subclasses ~30 min
Shape Class Hierarchy Build Shape, Circle, and Rectangle with inheritance and method overriding ~20 min
Employee Payroll System Create Employee base class with SalariedEmployee and HourlyEmployee derived classes ~25 min
03
AI Lesson
AI Lesson

Interfaces & Abstract Classes

45m

Learn to define contracts with interfaces and partial implementations with abstract classes.

04
Lab Exercise
Lab Exercise

Interfaces & Abstract Classes - Lab Exercises

2h 30m 4 Exercises

Learn to define contracts with interfaces and partial implementations with abstract classes. Understand when to use each and how they enable flexible, testable code.

Media Player Interface Build IPlayable interface with Song, Podcast, and Audiobook implementations ~20 min
Notification System Create abstract Notification class with Email, SMS, and Push implementations ~25 min
Shape Interfaces Define IShape interface and implement Circle and Rectangle ~30 min
Abstract Logger Create abstract LoggerBase and implement ConsoleLogger and FileLogger ~30 min
05
AI Lesson
AI Lesson

Exception Handling

45m

Learn try/catch/finally, exception types, custom exceptions, and TryParse patterns.

06
Lab Exercise
Lab Exercise

Exception Handling - Lab Exercises

1h 20m 2 Exercises

Learn to handle errors gracefully with try/catch/finally. Understand exception types, create custom exceptions, and build robust applications that don't crash.

Robust Calculator Add comprehensive exception handling to a calculator app ~15 min
Safe File Reader Build a file reader with proper try/catch/finally and custom exceptions ~20 min
07
AI Lesson
AI Lesson

File I/O — Reading and Writing Data

45m

Learn to persist data with file operations, JSON serialization, and StreamReader/StreamWriter.

08
Lab Exercise
Lab Exercise

File I/O - Lab Exercises

2h 30m 4 Exercises

Learn to persist data with file operations. Read and write text files, work with JSON serialization, and build applications that save state between runs.

Note-Taking App Build a console app that saves and loads notes using file operations ~30 min
JSON Contact Book Create a contact book with JSON serialization using System.Text.Json ~30 min
Note-Taking App Build a notes app that saves and loads from text files ~20 min
JSON Task Persistence Add JSON save/load to the Task Manager from C# I ~25 min
09
AI Lesson
AI Lesson

LINQ — Querying Data Like a Pro

45m

Master Language Integrated Query to filter, sort, transform, and aggregate collections.

10
Lab Exercise
Lab Exercise

LINQ - Lab Exercises

2h 30m 4 Exercises

Master Language Integrated Query (LINQ) to filter, sort, transform, and aggregate collections with elegant, readable code.

Student Grade Analyzer Use LINQ to filter, sort, and aggregate student records ~30 min
Product Inventory Report Use GroupBy and method chaining to build inventory reports ~30 min
Student Data Queries Use LINQ to filter, sort, and aggregate a student dataset ~20 min
Product Analytics Dashboard Build analytics with GroupBy, aggregations, and formatted reports ~25 min
11
AI Lesson
AI Lesson

Async/Await — Asynchronous Programming

45m

Learn to write non-blocking code with async/await, Task, and concurrent operations.

12
Lab Exercise
Lab Exercise

Async/Await - Lab Exercises

2h 30m 4 Exercises

Learn to write non-blocking code with async/await. Understand tasks, concurrent operations, and why async matters for responsive applications.

Async File Processor Read and write files asynchronously, measure time savings ~30 min
Parallel Web Fetcher Use HttpClient and Task.WhenAll to fetch multiple URLs concurrently ~30 min
Async File Processor Read and process multiple files in parallel with async/await ~20 min
Web Content Downloader Download multiple web pages concurrently using HttpClient and Task.WhenAll ~25 min
13
AI Lesson
AI Lesson

Generics & Advanced Collections

45m

Write type-safe, reusable code with generics, constraints, and advanced collection types.

14
Lab Exercise
Lab Exercise

Generics - Lab Exercises

2h 30m 4 Exercises

Learn to write type-safe, reusable code with generics. Build custom generic classes, understand constraints, and master advanced collection patterns.

Generic Repository Build a generic Repository<T> class with CRUD operations ~30 min
Generic Utilities Create generic utility methods and a custom Stack<T> ~30 min
Generic Stack Implementation Build a generic Stack class with Push, Pop, Peek, and Count ~20 min
Generic Repository Pattern Create a reusable Repository class with CRUD operations and constraints ~25 min
15
AI Lesson
AI Lesson

Capstone Briefing — Contact Management System

30m

Review all C# II concepts and understand the capstone project requirements.

16
Lab Exercise
Lab Exercise

Capstone: Contact Management - Lab Project

3h 30m 2 Exercises

Build a complete contact management application using inheritance, interfaces, file persistence, LINQ queries, and async operations. Your code will be reviewed and graded by the AI assistant.

Contact Management System Build a complete contact management application combining all C# II concepts ~90 min
Capstone: Contact Management System Build a complete application using inheritance, interfaces, file I/O, LINQ, async, and generics ~75 min
$19.99 / 3 months access

This course includes:

  • 24/7 AI Instructor Support
  • Live Lab Environments
  • 16 Hands-on Lessons
  • 3 Months Access
  • Completion Badge
  • Certificate of Completion
  • 7-Day Free Trial Available
Introduction to C# Programming II Badge

Earn Your Badge

Complete all lessons to unlock the Introduction to C# Programming II achievement badge.

Category
Skill Level Intermediate
Total Duration 1d 1h 35m
Introduction to C# Programming II Badge
Achievement Badge

Introduction to C# Programming II

Awarded for completing Introduction to C# Programming II. Demonstrates proficiency in advanced C# concepts including inheritance, interfaces, exception handling, file I/O, LINQ, async/await, and generics.

Course Introduction to C# Programming II
Criteria Complete all 8 lessons including 15 coding exercises and the capstone Contact Management System with AI code review.

Skills You'll Earn

C# .NET Inheritance Interfaces Exception Handling File I/O LINQ Async/Await Generics JSON Serialization

Complete all lessons in this course to earn this badge