C# 7 and .NET Core Cookbook
上QQ阅读APP看书,第一时间看更新

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