rbwhitaker / CSharpPlayersGuideEarlyAccess

A place to track issues with the C# Player's Guide for patches and future editions
19 stars 0 forks source link

(Powder) page 344 - "We are not just limited to the declaration pattern" should be "type pattern" #608

Closed rbwhitaker closed 2 years ago

rbwhitaker commented 2 years ago

Both the declaration pattern and the type pattern are commonly used with is, and the two are quite similar to each other (the first includes a variable declaration, the second doesn't) but this one is not the declaration pattern. It is an example of a type pattern.