Posts

Showing posts from 2020

Object Oriented Programming in C#

Image
(Object-Oriented Programming) OOP concept is a must to be a good programmer. This is the important design principle, In coders’ life. OOP is all about how to write a code in an organized code structure. This design principle gives you a good knowledge of coding skills. Rather than going through technical terms, I am going to help you to understand this concept through real-life examples.  Principle OOP concepts are Class Object Abstraction Inheritance Polymorphism Encapsulation Let me explain one by one. Class Class is a blueprint of an object. This is a mandatory concept in OOP. If you consider the real world, a class is like our school bag. We filled it with books, water bottle, geometry box, pencil box, and so on. Class is a collection of objects. Class does not contain specific memory allocation. public class Registration { } Object The object is an entity or model of a class. It may be a chair, table, or a person. Technically an object is an instance of a