Latest Posts On Code Maze

Radix Sort in C#

Radix Sort in C#

If you're a programmer, you've probably heard of the radix sort. But what is it, exactly? And how can you use it in your code? In this article, we'll take a closer look at the radix sort in C#, learn how to implement it, and analyze its time and space complexity. Do you know what the PathBase property (on HttpRequest) is for and how you can utilize it in your application?...

Stack in C#

Stack in C#

In this article, we are going to study Stack in C#, a collection of objects implementing the last-in-first-out method. Let's start. What is Stack...

Long-Running Tasks in a Microservices Architecture

Long-Running Tasks in a Microservices Architecture

In this article, we are going to demonstrate how the microservices architecture handles a long-running task execution. If you want to recap a similar task execution in a monolithic application, you can refer to this previous article. Communicating with Twitter API using the LinqToTwitter library by Khalid Abuhakmeh. Message Ordering in...

Mock Asynchronous Methods Using Moq in C#

Mock Asynchronous Methods Using Moq in C#

In this article, we are going to learn how to mock asynchronous methods using Moq. Moq is an easy-to-use and most popular framework to mock tests using .NET. ToList vs ToArray, which one is faster? Find out by reading this piece by Gérald Barré. IEnumerable...