C# — Summary of Pattern Matching
With new versions of C# we get new ways to match patterns and it was starting to get confusing to me, so I decided to write myself a summary.
Pattern matching was introduced with C#7. (Not including regular expressions in this article)