C# Practice: Interfaces and Abstract Classes

C# Practice: Interfaces and Abstract Classes

24mBeginner2023-09-14

Authors

Walt Ritscher

Walt Ritscher

Programmer, UI Designer, Staff Instructor at LinkedIn Learning

Course details

Test your object-oriented knowledge of C# in this edition of Code Challenges. Instructor and .NET developer Walt Ritscher presents five hands-on, intro-level challenges focused on abstract classes and interface implementation. Each challenge examines one aspect of these topics, and after you write the code to solve the challenge, check your work against Walt’s solution.

Skills covered

C#ProjectProgramming LanguagesMicrosoftSoftware Development

Concepts

Introduction

  • Practice your C# Interface skills
  • What you should know
  • Explore the code challenge

Code Challenges - Interfaces and Abstract Classes

  • Solution - Implement an abstract class
  • Solution - Implement an interface
  • Solution - Determine if a class implements a type
  • Solution - Refactor a fat interface
  • Solution - Make types sortable with IComparable

Continue Your Journey

  • Next steps