- 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
推薦閱讀
- Rust編程:入門、實(shí)戰(zhàn)與進(jìn)階
- vSphere High Performance Cookbook
- PostgreSQL 11從入門到精通(視頻教學(xué)版)
- Apache Mesos Essentials
- Windows Forensics Cookbook
- 小學(xué)生C++創(chuàng)意編程(視頻教學(xué)版)
- 組態(tài)軟件技術(shù)與應(yīng)用
- Learning FuelPHP for Effective PHP Development
- Learning Nessus for Penetration Testing
- Python機(jī)器學(xué)習(xí)與量化投資
- HTML5游戲開發(fā)實(shí)戰(zhàn)
- Puppet 5 Beginner's Guide(Third Edition)
- Learning TypeScript
- 程序員的英語(yǔ)
- Android開發(fā)權(quán)威指南(第二版)