Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jepozdemir/oop-principles
Four Pillars of Object-Oriented Programming: Building Strong Foundations
https://github.com/jepozdemir/oop-principles
csharp dotnet four-pillars object-oriented object-oriented-design object-oriented-programming oop oop-concepts oop-csharp oop-examples oop-in-csharp oop-principles
Last synced: 1 day ago
JSON representation
Four Pillars of Object-Oriented Programming: Building Strong Foundations
- Host: GitHub
- URL: https://github.com/jepozdemir/oop-principles
- Owner: jepozdemir
- Created: 2024-03-28T11:44:19.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-03-28T12:27:52.000Z (8 months ago)
- Last Synced: 2024-03-29T12:59:10.289Z (8 months ago)
- Topics: csharp, dotnet, four-pillars, object-oriented, object-oriented-design, object-oriented-programming, oop, oop-concepts, oop-csharp, oop-examples, oop-in-csharp, oop-principles
- Language: C#
- Homepage: https://towardsdev.com/four-pillars-of-object-oriented-programming-building-strong-foundations-5d3970f70733
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OOP Principles in C#
*Four Pillars of Object-Oriented Programming: Building Strong Foundations*
![OOP Principles in C#](/cover.webp "OOP Principles in C#")
This repository contains supplementary materials for the my article titled ["Four Pillars of Object-Oriented Programming: Building Strong Foundations"](https://towardsdev.com/four-pillars-of-object-oriented-programming-building-strong-foundations-5d3970f70733), published on [Towards Dev](https://towardsdev.com/).
## Article Overview
Object-Oriented Programming (OOP) is a fundamental paradigm in software development, offering powerful tools for organizing and structuring code. The article explores the four core principles of OOP:
1. **Encapsulation**
2. **Abstraction**
3. **Inheritance**
4. **Polymorphism**Each pillar is discussed in detail, emphasizing its significance in creating robust, scalable, and maintainable software systems. Practical examples are provided to illustrate how these principles are applied in real-world scenarios.
## Repository Contents
This repository serves as a companion to the article, providing code examples and additional resources related to each pillar of OOP:
- **Encapsulation**: Demonstrates how to encapsulate data within objects and control access to it, enhancing data security and code maintainability.
- **Abstraction**: Illustrates the concept of abstraction by creating abstract classes and interfaces, allowing developers to define common behavior without specifying implementation details.
- **Inheritance**: Explores inheritance as a mechanism for creating a hierarchy of classes, enabling code reuse and promoting a modular design approach.
- **Polymorphism**: Showcases polymorphic behavior, where objects of different types can be treated interchangeably, promoting flexibility and extensibility in code.## Usage
To benefit from the resources provided in this repository:
1. Clone or download the repository to your local machine.
2. Explore the directories/classes corresponding to each OOP pillar.
3. Review the code examples and accompanying explanations to gain a deeper understanding of OOP principles.
4. Experiment with the code, modify it, and integrate it into your own projects to apply the concepts in practice.## Contributions
Contributions to enhance the repository are welcome. If you have additional code examples, improvements, or suggestions, feel free to open an issue or submit a pull request. Your contributions can help enrich the learning experience for others interested in OOP principles.
## Feedback
If you found the article or the repository helpful, or if you have any questions or feedback, we'd love to hear from you. Leave comments on the article or open an issue here on GitHub to share your thoughts.
## Author
The article "Four Pillars of Object-Oriented Programming: Building Strong Foundations" was authored by me, [Jiyan Epözdemir](https://medium.com/@jepozdemir). Visit my blog for more insightful articles on Medium.
## Read More
Explore the full article ["Four Pillars of Object-Oriented Programming: Building Strong Foundations"](https://towardsdev.com/four-pillars-of-object-oriented-programming-building-strong-foundations-5d3970f70733) for a comprehensive understanding of Object-Oriented Programming principles and their application in software development.