Take advantage of anonymous types in C# to create and instantiate types that have read-only properties without having to declare the type beforehand An anonymous type is a type that doesn’t have a ...
Primary constructors in C# 12 can be used in classes and structs as well as record types. Here’s how they make your code cleaner and more concise. One of the striking new features in C# 12 is the ...
When working with TypeScript it's not unusual to need a class that matches an already existing server-side class written in C#. Here's one way to get from C# to TypeScript by doing what you normally ...