C# is my primary programming language. I use it every day. These posts deal specifically with that language, and may also deal with ASP.NET.
In C# 11, we might be able to make class properties required, and have the compiler throw errors if they are not included.
Let's simplify class properties using the new field keyword!
We can make our code a bit more concise by using interpolated strings ($) on const strings!
Let's make our anonymous objects easier to copy using the with expression!
We can declutter our C# files by marking common namespaces as global!
We can use the ! operator to check if a method parameter is null.
Let's reduce clutter using file-level namespaces, a feature of C# 10.
Let's create a class that can generate parameterized SQL for INSERT and UPDATE statements using Dapper!
C#, .NET, Web Tech, The Catch Block, Blazor, MVC, and more!
You've successfully subscribed to Exception Not Found
Welcome back! You've successfully signed in.
Great! You've successfully signed up.
Your link has expired
Success! Your account is fully activated, you now have access to all content.