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 (
Also find me here:


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 .NET: Which One is Better?

In this article, we are going to learn the main differences between Any and Count methods from LINQ. We work with different collections in C# all the time, and we often need to check if there are any records inside the collection or if it is empty. Both methods can...