pattern matching in c sharp working with pattern matching in c 7 0