© Vaskaran Sarcar 2018
Vaskaran SarcarInteractive C#https://doi.org/10.1007/978-1-4842-3339-9_9

9. A Quick Recap of OOP Principles in C#

Vaskaran Sarcar
(1)
560066 Bangalore, Karnataka, India
 
Teacher starts the discussion: Welcome to the final part of the object-oriented programming in C#.Let’s review the core principles that we already covered in this book.
  • Classes and objects
  • Polymorphism
  • Abstraction
  • Encapsulation
  • Inheritance
We can add two more.
  • Message passing
  • Dynamic binding

Quiz

Can you recall how these topics are covered with basic building blocks of C#?

Answers

  • Class and objects: Throughout the book, in almost every example, we have used different types of classes and objects. In the examples of static classes, we did not create objects. ...

Get Interactive C#: Fundamentals, Core Concepts and Patterns 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.