Polymorphism detailed explanation with C# .NET (OOP Concept)

Polymorphism is one of the important building blocks in object-oriented programming. Poly means many and morph means forms i.e. many forms of an object. It means design by interface i.e. many classes implementing the same interface to provide the same services but each class has its own implementation of those services. Polymorphism occurs when a […]

OOP Concept – Encapsulation in C# .NET

Encapsulation is one of the important building blocks in object-oriented programming. It is a mechanism in which data and code which manipulate this data are enclosed into a single unit. This unit can be a class in c# which allows the developer to hide data by making variables inaccessible outside class and providing functions, which […]