Pattern matching C#
This post is very short and my intention is to draw attention in case there is someone who would like to code in this way. Recently in C#, I started to use different conditional controls. And I think reading and understanding the code in this way is better. I code in this way these days. And I’ve created an example to draw attention. So Which one would you choose? You already know my answer. And you can discover more here!