Open main menu

CDOT Wiki β

Changes

Strategy

86 bytes added, 14:21, 8 February 2007
no edit summary
Some times there is a need to use a different sort algorithm there is a overload of sort that takes an IComparer.
<br>
http://msdn2.microsoft.com/en-us/library/system.collections.comparer(VS.80).aspx
<br><pre>
class CoolComparer : IComparer
==References==
http://msdn2.microsoft.com/en----us/library/system.collections.comparer(VS.80).aspxhttp://www.codeproject.com/cpp/strategy.asphttp://en.wikipedia.org/wiki/Strategy_pattern
1
edit