¡@

Home 

c# Programming Glossary: numitems

How to Quickly Remove Items From a List

http://stackoverflow.com/questions/6926554/how-to-quickly-remove-items-from-a-list

list.RemoveAll x x null Client Application and Outputs int numItems 500000 Stopwatch watch new Stopwatch List 1... watch.Start List.. Stopwatch List 1... watch.Start List String list1 GetList numItems watch.Stop Console.WriteLine watch.Elapsed.ToString watch.Reset.. List 2... watch.Start List String list2 GetList numItems watch.Stop Console.WriteLine watch.Elapsed.ToString watch.Reset..