Consider C# 8 switch expressions to improve readability of existing switch statements

I generally don’t like too much ‘sugar’ being added to C# but Switch Expressions from C# 8 really can improve readability a lot …

Are you using switch expressions in your apps?

Example below is courtesy of ChatGPT 😉 …

Leave a Reply

Your email address will not be published. Required fields are marked *