Tag - object oriented programming

C# Keywords Tutorial Part 96: virtual

C# is an object-oriented programming language that provides the "virtual" keyword to enable polymorphism and runtime method invocation. In this blog post, we will discuss the use of "virtual" in C# and provide code examples to illustrate its behavior. What is the "virtual" keyword in C#? The keyword "virtual" can be used in C# to change...

C# Keywords Tutorial Part 71: return

C# is a powerful programming language that provides developers with a wide range of tools to create robust and efficient applications. One of the fundamental constructs in C# is the "return" keyword. In this blog post, we will discuss the various uses of the "return" keyword and provide code examples to illustrate each scenario. The...

C# Keywords Tutorial Part 62: override

C# is an object-oriented programming language that allows developers to create reusable code through inheritance. The "override" keyword is an important feature of C# that enables developers to change the behavior of a method in a subclass. In this blog post, we'll explore what the "override" keyword is, how it works, and provide some code...

SOLID Principle in Programming

When it comes to writing flexible, scalable, maintainable, and reusable code in software development, Object-Oriented Design is critical. There are numerous advantages to using OOD, but every developer should also understand the SOLID principle for good object-oriented design in programming. The SOLID principle, introduced by Robert C. Martin, also known as Uncle Bob, is...