A converted version of the PowerCollections library in which the Algorithms class uses extension methods syntax.
using Wintellect.PowerCollections;... public void PowerCollectionsDemo() { string[] array = new string[] { "G", "H", "A", "B" }; array.Sort(); //Yey, can delete that from my own CollectionUtils array.StableSortInPlace(); //A bit more clever int result = array.LexicographicalCompare(new string[] {"B", "C", "D" }); Console.WriteLine(array.Reverse().AsString()); //... And a lot more }
The binaries require .NET 3.5. Opening the source requires Visual Studio 2008.