c#

Benchmarking with BenchmarkDotNet
.
In this article, we will explore BenchmarkDotNet which is a powerful tool for benchmarking C# code snippets so that we can track the performance of a method we write. So, let’s see this in action. You may like this article:…

C# 12 : Primary Constructors
.
C# 12 introduces multiple amazing features. But, one of the features which I liked most is the Primary Constructor. What is a Constructor? We are all familiar with the constructor. It is a special method which we use to initialize…

Work with Variables and Data Types in C#
.
In this article, we will explore Variables and Data Types in C#. Before we proceed further, let us first understand what Data is. This article is helpful for beginners or preparing for an Interview as a C# programmer. What is…
Lambda Expression in C# with Examples
.
A lambda expression is a short way to describe an anonymous function in C#. The abbreviated syntax of Lambda Expression helps to create Delegates and expressions. So, in this article, we will see Lambda Expression in C# with examples. We…
IEnumerable and IQueryable in C#
.
In this article, we will learn IEnumerable Vs IQueryable. Both IQueryable and IEnumerable are interfaces in .NET that represent a collection of objects. However, they have some important differences in how they work and when to use them. So, let’s…

Tuple in C# with Example
.
In this article, we will learn about Tuple in C#. What is a Tuple? A tuple is a reference type lightweight data structure that may contain different data types. It is introduced in C# 7.0. Tuple is useful when we…

Dependency Injection in C#
.
In this blog, we are going to learn about Dependency Injection. And, how we can implement Dependency Injection in C#? We will also learn the ways we can implement Dependency Injection in C#. What is Dependency Injection (DI)? So, let’s first…

Abstract Class Vs Interface in C#
.
Abstract Class Vs Interface is one of the most asked questions in an interview. In this article, we will learn what are the main differences between abstract class and interface. And also we will know in which cases abstract classes…






