Latest Posts On Code Maze

How to Convert IAsyncEnumerable to List

How to Convert IAsyncEnumerable to List

In this article, we will learn how to convert IAsyncEnumerable to a List in C#. We'll talk about some practical reasons for this conversion and explore the common method for achieving it. A nice breakdown of the heap data structure...

Difference Between Abstraction and Encapsulation in C#

Difference Between Abstraction and Encapsulation in C#

Let's explore the differences between abstraction and encapsulation in C#. Abstraction and encapsulation constitute fundamental concepts in object-oriented programming (OOP) and coexist in C#. Each of them fulfills key roles in the design and implementation of classes...

How to Create an Outer Join in LINQ – (Left and Right)

How to Create an Outer Join in LINQ – (Left and Right)

In this article, we'll discuss how to create an outer join in LINQ. Most used are left and right outer join, but we'll also talk about less common ones. It's hard to find an application that doesn't rely on data. We often use just a single data source. But sometimes...

Read a Text File Without Specifying the Full Path in C#

Read a Text File Without Specifying the Full Path in C#

In .NET applications, reading text files is essential for tasks like loading configurations, processing data, and parsing logs. In this article, we look at the file's relative and absolute paths and set up a new project to read a text file using its relative path. [sc...