Josef Ottosson

Freelancing Developer ยท Microsoft MVP

Subscribe via RSS
© Josef Ottosson 2023
Ghost & StayPuft

c-sharp

A collection of 28 posts

c-sharp

Bonus - Builder Pattern with the implicit operator using c#

By using the implicit operator we can skip the Build method on our builders

3 months ago October 21st, 2022 1 min read
Enumeration class in C# using records
c-sharp

Enumeration class in C# using records

Let's see if we can optimize the Enumeration class provided by Microsoft in "eShopOnContainers"...

4 months ago September 17th, 2022 7 min read
c-sharp

C# - Tips and Tricks 02 - Named tuples

Use named tuples to improve the readability/usability of your code

5 months ago August 29th, 2022 1 min read
dotnet core

C# - Tips and Tricks 01 - Covariant return types

Use covariant returns to override the return types of properties and/or methods

5 months ago August 27th, 2022 2 min read
My take on the Result class in C#
c-sharp

My take on the Result class in C#

Don't use exceptions for flow control, use a custom Result class instead!

7 months ago June 16th, 2022 7 min read
Subscribe via RSS
© Josef Ottosson 2023
Ghost & StayPuft