How can I delete an item from an array in VB.NET?
As Heinzi said, an array has a fixed size. In order to ‘remove an item’ or ‘resize’ it, you’ll have to create a new array with the desired size and copy the items you need as appropriate. Here’s code to remove an item from an array: <System.Runtime.CompilerServices.Extension()> _ Function RemoveAt(Of T)(ByVal arr As T(), ByVal … Read more