Error!
Success!

Replace Switch Statements with Dictionary and Func<>

0
kicks

Replace Switch Statements with Dictionary and Func&lt;&gt;  (Unpublished)

Continuing with the general theme of Func&lt;&gt;, Action&lt;&gt; and generics here is a nice little trick to replace long but simple switch statements with a generic dictionary and a Func statement.


Kicked By:
Drop Kicked By: