C# 7.0 - Pattern Matching

added by DotNetKicks
2/15/2017 12:09:26 PM

2 Kicks, 381 Views

I already explained binary literals, digit separators, tuples, out vars and ref returns, and expression bodied members - great new C# 7.0 features - in previous articles. Beside tuples, the biggest feature of C# 7.0 is pattern matching. Pattern Matching Often you need to work with the object type.