Re:C# Pattern Matching
by oaiey on Wednesday February 05, 2020 @03:32AM
(#22245003)
Thanks. Just learned that object/tuple deconstruction works with is keyword as well (I mean makes sense). That makes argument checking so much less burden.
That also explains the switch in parameter checking from == null to is null for the default code analyzers/refactors/code hints.
That also explains the switch in parameter checking from == null to is null for the default code analyzers/refactors/code hints.