On record types, ToString() and other compiler-synthesized methods cannot be overridden up the inheritance hierarchy in parent records, but must be overridden in the concrete record.
Domain Primitives are a stand-alone low-risk way to incrementally fortify your application, without the risk and complexity of introducing concepts like DDD, algebraic data types or immutability.
With custom collection initializers, you can avoid writing repetitive test methods for mappers, converters and validators by using parameterized tests with type-safe yet generic test samples based on expressions and corresponding values.
This post is just a summary of a few things I learned about performance optimization of CPU-bound / memory-bound processes in C#/.NET.
I was able to accelerate two different low-level image processing algorithms by a factor of 10 while learning a lot and enjoying the process.
TL;DR: Always use the /order option when using xsd.exe. If you have ever generated C# classes from an XML schema, chances are you used xsd.exe for that.You probably also expected…
TL;DR: Use Lindhart.Analyser.MissingAwaitWarning to get warnings on all ignored Tasks We all know and love compiler warning CS4014 for ignoring Tasks.You would think that this warning triggers every time we…