Code Maze Author

Marko Hrnčić

Marko is a software enthusiast deeply immersed in the .NET world. As a team lead, he directs other engineers and fosters personal growth by continuously learning from team members. He actively contributes to the open-source community, by sharing his expertise, and loves to compete in hackathons using .NET as his platform of choice. Outside of his professional pursuits, Marko is a sports fan, with a particular fondness for watching football during his free time. You can find Marko’s work on his GitHub profile (https://github.com/mahrncic).
Also find me here:

MY ARTICLES:

Realistic Data Generation in .NET With Bogus

In this article, we are going to learn what Bogus library is and how we can use it to generate fake data in .NET. We will create examples for generating data in different ways and show some additional community extensions we can use on top of Bogus. [sc name="github"...

What is the Difference Between a DTO and a POCO?

In this article, we are going to learn the differences between a DTO (Data Transfer Object) and a POCO (Plain Old CLR/C# Object). We use these types of objects in everyday coding. However, we are often not sure what the real differences are. We are going to dive...

Any() vs Count() in C#: Which One Is Better?

To check whether a collection has anything in it, use Any(). It stops at the first element; Count() may walk the whole sequence to produce a number we then throw away. The exception is a List<T>, an array, or anything else with a Count or Length property. Those...

Mapster in ASP.NET Core: Getting Started

Mapster is a convention-based object mapping library for .NET: one Adapt<TDestination>() call copies a Person into a PersonDto with zero configuration when property names match. It is MIT-licensed with no conditions attached, and faster than AutoMapper in most...