What's New in .NET 9 🔍, One C# Tip to Make Your Developer Life Easier 🚀


Hey Reader,

This week, I've put together tutorials on two interesting features in .NET 9 and C# that you might find really useful. Let's dive right in!

🔢 3 New LINQ Methods in .NET 9

Ready to level up your data querying skills? In this video, I'll cover the new LINQ methods introduced in .NET 9: CountBy, AggregateBy, and Index. These additions make it easier to work with data, letting you perform complex queries more simply and efficiently.

video preview

We'll go through practical examples to show how these methods can streamline your code and make your applications run smoother. If you're keen on keeping up with the latest in .NET, you won't want to miss this!

⚙️ Mastering Type Conversions in C#

Check out this video where I break down the static implicit and static explicit operators in C#. Knowing how to use these operators can really help with type conversions in your projects, making your code neater and easier to manage.

video preview

You'll see how to add these operators to your classes for automatic and manual type conversions, which can lead to cleaner and more efficient code. This guide is perfect for enhancing your programming skills with some useful, advanced techniques.


If you have any questions or need more details on anything, just hit reply to this email. I'm here to provide more tutorials and answer any queries you might have.

Thanks so much to our community and my Patrons for your support. You help keep this channel growing. Stay safe!

Take care & happy coding,

Patrick


Patrick God

Become a .NET & Blazor expert with weekly tutorials featuring best practices and the latest improvements, right in your inbox.

Read more from Patrick God
video preview

Hey Reader, Ever tried to choose the perfect weapon for each creature in a dark, spooky forest? Silver bullets for werewolves, garlic for vampires, chainsaws for zombies... but what if you had to pick your weapon before entering the forest? Just like that forest adventure, dependency injection in C# can leave you stuck with the wrong tool when you need it most - unless you know about the Factory Pattern! Today, I’m breaking down how the Factory Pattern solves real-world dependency injection...

video preview

Hey Reader, In today’s tutorial, I’ll walk you through how to use Dapper, a high-performance micro ORM (object-relational mapper) with a .NET 8 Web API and SQL Server. We’ll cover everything you need to know to build a simple CRUD (Create, Read, Update, Delete) application. Watch on YouTube 📺 Check out the full tutorial on YouTube to see everything in action 👇 What We’ll Be Doing We’re going to work with a simple video game database to start. You’ll learn how to: Read all games or a specific...

video preview

Hey Reader, Today, I show you how combining Blazor and JavaScript can give you the best of both worlds. Let’s dive into how you can easily mix the power of these two technologies in your projects! Watch on YouTube 📺 Check out the full tutorial on YouTube to see everything in action 👇 A Simple Example: Console Logging in Blazor Imagine you’re working on a Blazor Server application, and you want to log the current count (of the Counter page) to the console. Your first thought might be to use...