switch


C# 7.0 – Patterns

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