Examples
using Grasshopper2.Extensions;
// As an extension method
T[] result = array.ShrinkArray(oldCount, newCount, method);
// As a static method
result = ArrayEx.ShrinkArray(array, oldCount, newCount, method);using Grasshopper2.Extensions;
// As an extension method
T[] result = array.ShrinkArray(oldCount, newCount, method);
// As a static method
result = ArrayEx.ShrinkArray(array, oldCount, newCount, method);