Skip to content
Search lessons, topics, tests…
Esc

    ↑ ↓ moveEnter openEsc close
    Design Patterns in C#: The .NET Interview Guide: back to the course
    Lesson17 / 20

    Visitor and Pattern Matching in C#: Double Dispatch, Expression Trees, ExpressionVisitor and Switch Expressions

    This lesson comes with Full Access

    Its text, video and cheat sheet open with Full Access.

    No more free lessons in this course.

    Practice

    Practice test: Design Patterns in C#: Observer, Mediator, Chain of Responsibility and Visitor — Lesson Practice8 questions · 15 minutes · 1 mark each, no negative markingFull Access
    Take the test
    Practice: Visitor and Pattern Matching in C#: Double Dispatch, Expression Trees, ExpressionVisitor and Switch Expressions7 questions · 7 marks

    Checked before publishing: C# examples run on .NET 10, links opened, reviewed while it was written and read in full. How lessons are checked

    Updated 28 Nov 2026 ·