This is a C# example of using a strategy pattern.  It defines an interface for a SortStrategy and implements a BubleSort and a QuickSort