- Hands-On Object:Oriented Programming with C#
- Raihan Taher
- 139字
- 2021-07-02 12:44:43
Implementation of OOP in C#
In the previous chapter, we looked at classes, objects, and the four principles of OOP. In this chapter, we will learn about some C# language features that make the language an OOP language. Without knowing these concepts, writing object-oriented code with C# programming could be difficult, or will prevent you from using it to its full potential. In Chapter 2, Hello OOP - Classes and Objects, we learned that abstraction, inheritance, encapsulation, and polymorphism are the four basic principles of OOP, but we haven't yet learned how the C# language can be used to fulfill these principles. We are going to discuss this topic in this chapter.
In this chapter, we will cover the following topics:
- Interfaces
- The abstract class
- The partial class
- The sealed class
- Tuples
- Properties
- Access specifiers for classes
推薦閱讀
- TypeScript Essentials
- 微信公眾平臺與小程序開發:從零搭建整套系統
- Vue.js 3.x從入門到精通(視頻教學版)
- Django Design Patterns and Best Practices
- Hands-On JavaScript High Performance
- Java持續交付
- Python應用輕松入門
- Building Mapping Applications with QGIS
- Troubleshooting PostgreSQL
- Java Web開發就該這樣學
- Python從入門到精通(第3版)
- 寫給青少年的人工智能(Python版·微課視頻版)
- PhantomJS Cookbook
- 前端Serverless:面向全棧的無服務器架構實戰
- Splunk Developer's Guide(Second Edition)