Tag C#

What are Loops in C Sharp and How to Use It?

What are Loops in C Sharp Featured Image

What are Loops? After learning Interfaces in C# in our previous C Sharp Article, let’s learn Loops in C Sharp, normally when we want to execute a statement once we mention it once in our program and execute the program.…

What is Interface in C# and How to Use It?

What is Interface in C Sharp Featured Image

What is Interface in C#? When studying abstraction, we came to know it can be achieved by Abstract Class, Abstract Method, and Interface in C#. Those who have read my previous article will feel the interface in C# is very…

What is an Abstract Class in C# and How to Use It?

What is an Abstract Class in C Sharp Featured Image

What is an Abstract Class? After studying Abstraction in OOPs let’s talk about Abstract Class. An Abstract class is declared with the Abstract keyword and we can not create an object of an Abstract class. The Abstract classes are similar…

What is Abstraction in OOPs?

What is Abstraction in OOPs Featured Image

What is Abstraction in OOPs is an important question in programming. When you start learning a programming language nowadays. You realize that you will have to learn Object-Oriented Programming concepts. As soon as you start understanding Object Oriented programming concepts,…

What is Encapsulation in OOPS and How to Use it?

What is Encapsulation in OOPS Featured Image

What is encapsulation in OOPS (Object Oriented Programming) is a very common question asked by new programmers. The answer to this question is very easy but first, let me give you an example from the real world. Have you ever…

What is Method Overloading in C# and How to Use It?

Method Overloading in C Sharp Featured Image

Method Overloading is required when you have a class and you want that class to perform some tasks in different ways. For example, Method overloading is required if you want a single function in a class that is designed to…

What is Operator Overloading in C# and How to Use it?

What is Operator Overloading in C Sharp Featured Image

Operator Overloading. First, we need to understand what is operator overloading. It is a part of Polymorphism. Operator overloading means we need to prepare our operators (+, -, / etcetera) to perform some extra tasks that they are not programmed…

What is Polymorphism in C# and How is it used?

What is Polymorphism in C Sharp Featured Image

What is Polymorphism in C# is a good question. The term polymorphism is one of the pillars of Object-Oriented Programming Concepts. There are other concepts like Encapsulation, Abstraction, Inheritance. Before we start talking about types of polymorphism, let’s talk about…

What is Inheritance in OOP?

What is Inheritance in OOP Featured Image

What is inheritance in OOP? The question seems to be very simple and yes it is simple but Inheritance in programming is taking the properties and methods from another class, it is inheritance. Finding the answer to What is inheritance…