switch


C# 7.0 – Patterns 1

The concept of patterns was introduced in C# 7.0. The idea is to check if an object reflects a specified shape.