Async and Await are two keywords in C# that make it easier to write asynchronous code. They are used to write asynchronous methods that can run in the background, without blocking the main thread, and without causing the application to become unresponsive.
C# extension methods are a way to extend the functionality of existing classes, structures or interfaces without having to modify their source code. They are defined as static methods in a static class, and the first parameter of the method must be preceded by the this keyword, which indicates that the method is an extension method.
A tuple is a data structure that can store multiple values of different data types in a single unit. In C#, tuples are used to return multiple values from a method, or to store a group of values without creating a separate class.
Follow the series to enhance/learn OOP and C# skills.
This book is a basic introduction to “Object Oriented Programming Using C#” for beginners. The book covers all the C# and OOP concepts in detail and step by step with practical examples.
This article will not be very theoretical, but would be more of a tutorial to showcase the existing problems with tightly coupled applications, how to make the application loosely coupled and achieve inversion of control via dependency injection.
Introduction In this series on learning singleton pattern, we learned lazy initialization and eager initialization with practical examples. We also
Introduction In the previous article on learning singleton pattern, we discussed what is singleton design pattern, when is it needed and what
Introduction I always wanted to write on Singleton design pattern in C#. Though there already are many posts available on
Introduction Being a .NET developer, we all are familiar with collections and generics. We know ArrayLists, Arrays, List and Dictionary