Useful Generic array functions

The standard .NET Framework offers quite a few generic functions to munipulate arrays, however there are some functionalities where extra code will be needed such as Appending to the array, removing an element from the array, or removing all elements that fall under a condition.

Should have some basic knowledge of Generic Classes, Lists, Arrays etc.

The Array Object contains some useful generic functionalities such as:

  • ConvertAll<T,O>
  • Exists<T>
  • Find<T>
  • Resize<T>
  • TrueForAll<T>

However, these functionalities by themselfs sometimes does not get the job done.

Read more...

 

No Comments