C# – Which is the best alternative to ‘switch on type’? [duplicate]

Of all suggested I prefer second option. Generally, I prefer double dispatch over switching on Types.

Leave a Comment