- 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
推薦閱讀
- Production Ready OpenStack:Recipes for Successful Environments
- Learning AndEngine
- Quantum Computing and Blockchain in Business
- Learning Hadoop 2
- Mastering AWS Security
- PHP 7從零基礎(chǔ)到項目實戰(zhàn)
- PrimeFaces Blueprints
- RocketMQ實戰(zhàn)與原理解析
- 玩轉(zhuǎn).NET Micro Framework移植:基于STM32F10x處理器
- 零基礎(chǔ)學(xué)C++(升級版)
- Apache Solr PHP Integration
- C#程序設(shè)計基礎(chǔ)入門教程
- Android技術(shù)內(nèi)幕(系統(tǒng)卷)
- Effective C++:改善程序與設(shè)計的55個具體做法(第三版)中文版(雙色)
- 系統(tǒng)分析師UML用例實戰(zhàn)