DCSIMG
Extension Methods Version of PowerCollections - MS Israel Community

Browse Folders

zip Extension Methods Version of PowerCollections

Downloads: 221 File Size: 2MB
Posted By: dorony Views: 500
Date Added: 12-01-2007

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. 

 

Comments

No comments exist for this file.

Add Comment

(required) 
(required)
(optional)
(required) 

Enter the numbers above:
Add