Posts
C# Method Hiding vs Overriding
In this tutorial, we will see the difference between method hiding and overriding in C#. The difference between method hiding and method overriding becomes evident when a class object is used polymorphically. The child version of…
C# Using Keyword
In this tutorial, we will take a look at the using keyword in C#. The using keyword can be used as a directive to include a namespace or it can…
C# Working with the Console
About In this code snippet, we will learn the basics of how to work with the console in C#. We will see how to write text to the console, read text…
C# Interfaces
In this tutorial, we will take a look at interfaces in C#. When I was first learning about interfaces I was given this analogy: “Interfaces are like contracts that specify what…
C# Extension Methods
In this tutorial, we will take a look at extension methods in C#. If you have a class that you don’t own or is sealed you won’t be able to add anything to…
C# Working With Strings
In this tutorial, we will learn how to work with and manipulate strings in C#. Let’s have a look at the code below to work with strings…
C# Polymorphism
In this tutorial, we will take a look at polymorphism, the virtual and the override keywords in C#. Polymorphism is one of the main concepts of OOP(object-oriented programming). It means that…
C# Base Keyword
In this tutorial, we will take a look at the base keyword in C#. The base keyword is used to get the members of the parent class. In this example…
C# Inheritance
In this tutorial, we will take a look at the base keyword in C#. Inheritance means that one class can inherit members from another class. This is one of the…