C#

Extension Methods And Their Benefits In Csharp

C# 3.0 introduces extension methods. These are one of the most powerful features that helped C# as a language take… Read More

2 years ago

What are Guard Clauses in .NET

What are Guard Clauses? A guard in general is to protect against the damage that may happen in the future.… Read More

2 years ago

How to generate Fake data in C#?

The reason for generating fake data can be anything. But, the most common use case I think for generating fake… Read More

2 years ago

Cancelling a request issues a cancellation on backend?

In the previous post, we saw how to cancel a request using axios in VueJS. So, does cancelling a request… Read More

3 years ago

Observer Design Pattern with an example in CSharp

Definition Observer design pattern defines a one-to-many dependency between the objects. When the object state changes, the observers are notified/updated… Read More

3 years ago

.ToSafeDictionary() extension method in csharp

The .ToDictionary() extension will throw an argument exception if we have duplicate keys added to the dictionary. Read More ».ToSafeDictionary()… Read More

5 years ago

Generating Sequence Numbers In LINQ Query

In this post, we'll see how to generate sequence numbers along with the data that we need in LINQ C#.… Read More

5 years ago

Delegates as callback functions in csharp

Delegates as callback functions. In this post, we'll see how we can make use of the callback mechanism of the… Read More

5 years ago

The strategy design pattern with an example

A strategy design pattern is the most commonly used design pattern in computer programming. In this post, we'll start with… Read More

5 years ago

why func delegate is not translated to sql

This post is a sequence for the previous article which shows why the Func delegate is not translated into the… Read More

5 years ago

This website uses cookies.