Admittedly, this title could be shorter, but it s also a bit of a niche topic.
Continue reading “Adding a CorrelationId for Exceptions for Application Insights (DRAFT)”Category: .NET
Overriding Application Insights log levels
Value Objects in C# – Part 2
2. Choosing the property modifiers
Property setters in C# play a crucial role in defining how you can interact with class and record members. The set
, init
, and get
-only accessors offer different levels of mutability and initialization control, crucial for both mutable and immutable object design. There are a couple of options out there, which one to choose?
Value Objects in C# – Part 1
C# String Comparison Explained
When doing string comparisons, I always defaulted to StringComparison.InvariantCultureIgnoreCase
without giving it much further thought.
However, I recently had to explain what it actually did (and what it doesn’t) and I was a bit at a loss. This is what I found out.
Continue reading “C# String Comparison Explained”