0
kicks
Replace Switch Statements with Dictionary and Func<>
Continuing with the general theme of Func<>, Action<> and generics here is a nice little trick to replace long but simple switch statements with a generic dictionary and a Func statement.