Steve Moss
Published Feb 12, 2023 C# records are shortcuts (or syntactic sugar) for generating classes or structs. Here I show the generated code, which may help understand when and how records should be used.
Steve Moss
Published Jan 2, 2023 How to help the C# compiler pick an extension method when there are multiple matching extension methods in the same namespace.
Steve Moss
Published Oct 30, 2021 Various approaches to turning a sequence of characters into every possible combination of those characters.
Steve Moss
Published Dec 26, 2019 Introduction to using C# Interactive to run C# line-by-line or from scripts.
Steve Moss
Published Nov 10, 2018 How to add and remove security-related HTTP response headers for HTML pages and API endpoints, for .NET web applications hosted in IIS.
Steve Moss
Published Feb 22, 2018 How to simply serialize and deserialize an interface with several possible concrete implementations using Json.NET
Steve Moss
Published Dec 17, 2017 What looks like a C# collection initializer without a "new" keyword, is in fact a collection appender.