Twin Cities Code Camp

        Jon Marozick

Sorting out Template Method, Strategy, and Fluent Interfaces

by Jon Marozick

Mon, Oct 01, 2012
Room:
Time: 0:00

In this presentation we'll look at using the template method design pattern and a fluent interface to create ordering criteria for sorting algorithms. We'll also look at using the strategy design pattern to make the choice of sorting algorithm easy to modify. Next, we'll throw in some IComparers, IComparables and events. Then, we'll wrap it up by packaging the code in extension methods and demonstrate its uses with LINQ and lambdas.


About the Author