Patterns matching allows us to check the exact type of a value we hold. Think about writing the code in C# for getting the same outcome. Patterns matching allows us to write shorter programs simpler for maintenance.
You can find the source code in my F# Fundamentals course. You can find its community version available for free personal use at www.abelski.com.