HttpClient HTTPS Request With Certificate-C#

Recently in my project, I wanted to test SSL validation in my Unit Test while Making a HttpClient request. This article will show you how to read the certificate file in C# and add it to HttpClient. How to convert certificates …

Moving Average In C# Using LINQ

This article will show you how to generate a moving average of C# collection using LINQ to Objects. LINQ is a very popular feature of C# that allows the developer to write the query like SQL. Let’s consider you have the foll…

Compare Record and Class in C# 9

Compare Record and Class in C# 9 The syntax for creating the RecordRecord Let’s Compare the difference between class and RecordRecord with an example Record by Default provide structural equality Record By Default override…

Learning C# 9 Init Only Property Is Not Difficult at All!

In this article, I will show you one of the new features of C# 9  init only property. You can use a ‘init’ accessor instead of an set accessor to declare a property in C# 9. Only an object’s initializer can set init-only prop…

.Net Core dependency injection multiple implementations

In this series, I will discuss how to register multiple implementations of a service interface. Let’s assume you are developing one application in which you want to validate the customer information like Age and Email . A…

Minimum coin change problem using recursion in JavaScript

You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money. Return the fewest number of coins that you need to make up that amount . If …

Load More
That is All