Object-Oriented Programming in C#

This chapter will introduce you to the foundation of C# and object-oriented programming (OOP). In this chapter, you will cover the following recipes:

  • Using inheritance in C#
  • Using abstraction
  • Leveraging encapsulation
  • Implementing polymorphism
  • Single responsibility principle
  • Open/closed principle
  • Exception handling

Get C# 7 and .NET Core Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.